{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 19,
   "id": "d6934c13",
   "metadata": {},
   "outputs": [],
   "source": [
    "from langchain_ollama import OllamaEmbeddings\n",
    "embedding_vector = OllamaEmbeddings(\n",
    "    base_url=\"http://host.docker.internal:11434\", # 仅仅因为我的环境在docker里，ollama装在windows系统里。\n",
    "    # base_url=\"http://localhost:11434\",\n",
    "    model=\"bge-m3:latest\"\n",
    ")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "6826f7be",
   "metadata": {},
   "source": [
    "# Milvus Lite\n",
    "整个轻量级的"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 20,
   "id": "f41f3883",
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "2025-11-12 00:03:44,453 [DEBUG][_create_connection]: Created new connection using: f961e69022b948ffa0df5600abfd6be3 (async_milvus_client.py:599)\n"
     ]
    }
   ],
   "source": [
    "from langchain_milvus import Milvus\n",
    "URI = \"./asset/vector/milvus_example.db\"\n",
    "vector_store = Milvus(\n",
    "    embedding_function=embedding_vector,\n",
    "    connection_args={\"uri\": URI},\n",
    "    index_params={\"index_type\": \"FLAT\", \"metric_type\": \"L2\"},\n",
    ")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 21,
   "id": "1863c2c9",
   "metadata": {},
   "outputs": [],
   "source": [
    "# 2.定义文档\n",
    "from langchain_core.documents import Document\n",
    "\n",
    "raw_documents = [\n",
    "    # 水果类\n",
    "    Document(\n",
    "        page_content=\"芒果是漆树科芒果属热带水果，原产于印度半岛。果实多为肾形或椭圆形，果皮颜色从青绿色到深黄色不等，果肉细腻香甜，富含 β- 胡萝卜素和膳食纤维。除直接生食外，还可制作果汁、果酱、芒果糯米饭等美食。\",\n",
    "        metadata={\"source\": \"水果\", \"type\": \"热带植物\"},\n",
    "    ),\n",
    "    # 蔬菜类\n",
    "    Document(\n",
    "        page_content=\"西兰花是十字花科芸薹属蔬菜，起源于地中海东部。其食用部分为绿色的花球，由无数细小的花蕾聚合而成，口感脆嫩清香，富含维生素 C、叶酸和萝卜硫素。常见做法有清炒、焯水凉拌、搭配肉类烤制。\",\n",
    "        metadata={\"source\": \"蔬菜\", \"type\": \"花菜类植物\"},\n",
    "    ),\n",
    "    # 动物类（海洋哺乳动物）\n",
    "    Document(\n",
    "        page_content=\"海豚是齿鲸亚目海豚科哺乳动物，广泛分布于全球各大洋。它们具有极高的智商和复杂的社交行为，通过回声定位导航和捕猎，主要以鱼类、乌贼为食。海豚常被视为友好的象征，也是海洋公园中的热门动物。\",\n",
    "        metadata={\"source\": \"动物\", \"type\": \"海洋哺乳动物\"},\n",
    "    ),\n",
    "    # 动物类（啮齿类）\n",
    "    Document(\n",
    "        page_content=\"仓鼠是啮齿目仓鼠科小型哺乳动物，原产于亚洲和欧洲部分地区。体型圆润，尾巴短小，毛色有金棕、银白、三线等多种，性格温顺胆小，以谷物、种子、蔬菜为食。因饲养简便、外形可爱，成为广受欢迎的宠物。\",\n",
    "        metadata={\"source\": \"动物\", \"type\": \"啮齿类哺乳动物\"},\n",
    "    ),\n",
    "    # 生物类（灵长目）\n",
    "    Document(\n",
    "        page_content=\"黑猩猩是灵长目人科黑猩猩属动物，与人类亲缘关系最近，基因相似度高达 98% 以上。它们栖息在非洲热带雨林，过着群居生活，会使用工具获取食物（如用树枝钓白蚁），具有情感表达能力和学习行为。\",\n",
    "        metadata={\"source\": \"生物\", \"type\": \"非人灵长类\"},\n",
    "    ),\n",
    "    # 天文类\n",
    "    Document(\n",
    "        page_content=\"月球是地球唯一的天然卫星，直径约 3476 公里，距离地球约 38 万公里。它本身不发光，通过反射太阳光呈现不同月相，对地球的潮汐现象有显著影响。月球表面布满环形山、月海和月陆，是人类唯一登陆过的地外天体。\",\n",
    "        metadata={\"source\": \"天文\", \"type\": \"卫星\"},\n",
    "    ),\n",
    "    # 历史类\n",
    "    Document(\n",
    "        page_content=\"故宫博物院位于北京中轴线中心，是明清两代皇家宫殿，旧称紫禁城。始建于明永乐十八年，占地约 72 万平方米，拥有宫殿楼宇 9000 余间，珍藏文物 186 万余件。其建筑布局严谨对称，是中国古代宫殿建筑的巅峰之作，现为世界文化遗产。\",\n",
    "        metadata={\"source\": \"历史\", \"type\": \"皇家建筑\"},\n",
    "    ),\n",
    "    # 物理类\n",
    "    Document(\n",
    "        page_content=\"相对论是爱因斯坦提出的物理学理论，分为狭义相对论（1905 年）和广义相对论（1915 年）。狭义相对论提出光速不变原理和相对性原理，颠覆了经典力学的绝对时空观；广义相对论则将引力解释为时空弯曲的效应，成功预言了黑洞、引力透镜等现象。\",\n",
    "        metadata={\"source\": \"物理\", \"type\": \"基础科学\"},\n",
    "    ),\n",
    "    # 文学类\n",
    "    Document(\n",
    "        page_content=\"《三国演义》是中国古典文学四大名著之一，作者罗贯中。小说以东汉末年到西晋统一的历史为背景，讲述了魏、蜀、吴三国争霸的故事，塑造了诸葛亮、曹操、关羽等众多经典人物，兼具历史真实性与艺术感染力。\",\n",
    "        metadata={\"source\": \"文学\", \"type\": \"历史演义小说\"},\n",
    "    ),\n",
    "    # 医学类\n",
    "    Document(\n",
    "        page_content=\"流感病毒是正粘病毒科的 RNA 病毒，分为甲、乙、丙、丁四型，其中甲型流感病毒易发生变异。它主要通过飞沫和接触传播，症状包括高热、头痛、肌肉酸痛、呼吸道不适，易引发并发症。每年接种流感疫苗是最有效的预防手段。\",\n",
    "        metadata={\"source\": \"医学\", \"type\": \"呼吸道病毒\"},\n",
    "    ),\n",
    "    # 饮品类\n",
    "    Document(\n",
    "        page_content=\"普洱茶是中国云南特有的发酵茶，属于黑茶类。以云南大叶种晒青毛茶为原料，经渥堆发酵等工艺制成，茶汤色泽红浓透亮，滋味醇厚回甘，富含茶多酚和茶多糖。根据储存方式不同，可分为生普和熟普，具有越陈越香的特点。\",\n",
    "        metadata={\"source\": \"饮品\", \"type\": \"发酵茶\"},\n",
    "    ),\n",
    "    # 计算机类\n",
    "    Document(\n",
    "        page_content=\"Python 是一种解释型、面向对象的编程语言，由吉多・范罗苏姆于 1991 年发布。它语法简洁优雅，可读性强，拥有丰富的第三方库，广泛应用于数据分析、人工智能、Web 开发、自动化测试等领域，是编程入门的热门选择。\",\n",
    "        metadata={\"source\": \"计算机\", \"type\": \"编程语言\"},\n",
    "    ),\n",
    "    # 水生生物类（食用鱼类）\n",
    "    Document(\n",
    "        page_content=\"三文鱼是冷水性溯河洄游鱼类，背部呈青灰色，肉质橙红富含Omega-3，繁殖期会从海洋洄游至淡水河流产卵。\",\n",
    "        metadata={\"source\": \"水生生物\", \"type\": \"食用鱼类\"},\n",
    "    ),\n",
    "    # 水生生物类（无脊椎动物）\n",
    "    Document(\n",
    "        page_content=\"水母是海洋中的无脊椎动物，身体呈透明伞状，边缘有触手，部分种类能发光，通过喷水推进移动。\",\n",
    "        metadata={\"source\": \"水生生物\", \"type\": \"无脊椎动物\"},\n",
    "    ),\n",
    "    # 乐器\n",
    "    Document(\n",
    "        page_content=\"小提琴是一种弦乐器，有四根弦，通过弓摩擦弦发声，音色悠扬，是交响乐团的核心乐器之一。\",\n",
    "        metadata={\"source\": \"乐器\", \"type\": \"弦乐器\"},\n",
    "    ),\n",
    "    Document(\n",
    "        page_content=\"架子鼓是打击乐器的组合，包括军鼓、踩镲、嗵鼓等部件，常用于流行、摇滚等音乐类型的伴奏。\",\n",
    "        metadata={\"source\": \"乐器\", \"type\": \"打击乐器\"},\n",
    "    ),\n",
    "    # 交通工具\n",
    "    Document(\n",
    "        page_content=\"高铁是时速超过250公里的铁路列车，采用动车组技术，具有准时、舒适的特点，广泛用于城市间长途运输。\",\n",
    "        metadata={\"source\": \"交通工具\", \"type\": \"轨道交通\"},\n",
    "    ),\n",
    "    Document(\n",
    "        page_content=\"帆船依靠风力推动前进，船体轻盈，有单桅、双桅等类型，既是体育运动器材，也可用于休闲航行。\",\n",
    "        metadata={\"source\": \"交通工具\", \"type\": \"水上运输工具\"},\n",
    "    ),\n",
    "    # 航天器\n",
    "    Document(\n",
    "        page_content=\"空间站是在近地轨道运行的载人航天器，可长期驻留宇航员，用于开展空间科学实验和技术试验。\",\n",
    "        metadata={\"source\": \"航天器\", \"type\": \"载人航天器\"},\n",
    "    ),\n",
    "    Document(\n",
    "        page_content=\"卫星是环绕行星运行的人造天体，可用于通信、气象观测、导航等，按轨道分为地球同步卫星和极地卫星等。\",\n",
    "        metadata={\"source\": \"航天器\", \"type\": \"无人航天器\"},\n",
    "    ),\n",
    "    # 调料\n",
    "    Document(\n",
    "        page_content=\"肉桂是樟科植物的树皮，晒干后呈红棕色卷状，气味芳香，常用于烘焙、炖煮等料理的调味。\",\n",
    "        metadata={\"source\": \"调料\", \"type\": \"香辛料\"},\n",
    "    ),\n",
    "    Document(\n",
    "        page_content=\"酱油是大豆发酵制成的液体调味品，颜色深褐，咸鲜适口，是东亚烹饪中常用的基础调料。\",\n",
    "        metadata={\"source\": \"调料\", \"type\": \"发酵调味品\"},\n",
    "    ),\n",
    "    # 疾病\n",
    "    Document(\n",
    "        page_content=\"流感是由流感病毒引起的急性呼吸道传染病，症状包括发热、咳嗽、乏力，可通过飞沫传播。\",\n",
    "        metadata={\"source\": \"疾病\", \"type\": \"病毒性疾病\"},\n",
    "    ),\n",
    "    Document(\n",
    "        page_content=\"糖尿病是一种代谢性疾病，因胰岛素分泌不足或作用缺陷导致血糖升高，长期可能损害心脏、肾脏等器官。\",\n",
    "        metadata={\"source\": \"疾病\", \"type\": \"代谢性疾病\"},\n",
    "    ),\n",
    "    # 动物类\n",
    "    Document(\n",
    "        page_content=\"斑马是非洲草原特有的马科动物，黑白相间的条纹是其显著特征，这些条纹可能用于群体识别或迷惑捕食者。它们通常以草本植物为食，群居生活。\",\n",
    "        metadata={\"source\": \"野生动物\", \"type\": \"哺乳动物\"},\n",
    "    ),\n",
    "    Document(\n",
    "        page_content=\"鹦鹉是热带地区常见的鸟类，羽毛色彩艳丽，部分种类能模仿人类语言。它们主要以坚果、果实和种子为食，脚趾对生，适合抓握树枝。\",\n",
    "        metadata={\"source\": \"鸟类\", \"type\": \"宠物/野生动物\"},\n",
    "    ),\n",
    "    # 植物类\n",
    "    Document(\n",
    "        page_content=\"玫瑰是蔷薇科灌木，花瓣层层叠叠，花色丰富，常用于观赏和制作香水。其枝干有刺，喜阳光充足的环境，花期通常在春季至秋季。\",\n",
    "        metadata={\"source\": \"花卉\", \"type\": \"观赏植物\"},\n",
    "    ),\n",
    "    Document(\n",
    "        page_content=\"小麦是温带地区广泛种植的谷物，秸秆中空，穗状花序顶生，籽粒富含淀粉，是制作面粉的主要原料，可加工成面包、面条等食品。\",\n",
    "        metadata={\"source\": \"农作物\", \"type\": \"粮食植物\"},\n",
    "    ),\n",
    "    # 物品类\n",
    "    Document(\n",
    "        page_content=\"紫砂壶是中国特有的手工陶土茶具，以江苏宜兴产的最为著名，透气性好，适合冲泡乌龙茶，长期使用后壶身会形成包浆。\",\n",
    "        metadata={\"source\": \"工艺品\", \"type\": \"茶具\"},\n",
    "    ),\n",
    "    Document(\n",
    "        page_content=\"冲锋衣是户外爱好者常用的功能性服装，采用防水透气面料，接缝处有压胶处理，能抵御风雨，适合登山、徒步等场景。\",\n",
    "        metadata={\"source\": \"服饰\", \"type\": \"户外装备\"},\n",
    "    ),\n",
    "    # 自然现象类\n",
    "    Document(\n",
    "        page_content=\"极光多见于南北极地区的高纬度夜空，是太阳带电粒子与地球大气层中的气体碰撞产生的发光现象，颜色以绿色最为常见。\",\n",
    "        metadata={\"source\": \"自然现象\", \"type\": \"天文现象\"},\n",
    "    ),\n",
    "    Document(\n",
    "        page_content=\"海啸是由海底地震、火山爆发或陨石撞击引发的巨型海浪，传播速度极快，到达岸边时会形成破坏性巨浪，对沿海地区造成严重影响。\",\n",
    "        metadata={\"source\": \"自然现象\", \"type\": \"地质灾害\"},\n",
    "    ),\n",
    "]\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "6e88fd05",
   "metadata": {},
   "source": [
    "# 增加文档"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 22,
   "id": "55ac98f1",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[462127634890358850,\n",
       " 462127634890358851,\n",
       " 462127634890358852,\n",
       " 462127634890358853,\n",
       " 462127634890358854,\n",
       " 462127634890358855,\n",
       " 462127634890358856,\n",
       " 462127634890358857,\n",
       " 462127634890358858,\n",
       " 462127634890358859,\n",
       " 462127634890358860,\n",
       " 462127634890358861,\n",
       " 462127634890358862,\n",
       " 462127634890358863,\n",
       " 462127634890358864,\n",
       " 462127634890358865,\n",
       " 462127634890358866,\n",
       " 462127634890358867,\n",
       " 462127634890358868,\n",
       " 462127634890358869,\n",
       " 462127634890358870,\n",
       " 462127634890358871,\n",
       " 462127634890358872,\n",
       " 462127634890358873,\n",
       " 462127634890358874,\n",
       " 462127634890358875,\n",
       " 462127634890358876,\n",
       " 462127634890358877,\n",
       " 462127634890358878,\n",
       " 462127634890358879,\n",
       " 462127634890358880,\n",
       " 462127634890358881]"
      ]
     },
     "execution_count": 22,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "vector_store.add_documents(\n",
    "    documents=raw_documents,\n",
    ")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "c73030d0",
   "metadata": {},
   "source": [
    "# 检索文档(查询)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "d47f8035",
   "metadata": {},
   "source": [
    "## similarity_search"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "id": "f921660c",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "--- 基础相似性搜索 ---\n",
      "1. 内容：鹦鹉是热带地区常见的鸟类，羽毛色彩艳丽，部分种类能模仿人类语言。它们主要以坚果、果实和种子为食，脚趾...\n",
      "   元数据：{'pk': 462127634890358875, 'source': '鸟类', 'type': '宠物/野生动物'}（文档ID：462127634890358875）\n",
      "2. 内容：海豚是齿鲸亚目海豚科哺乳动物，广泛分布于全球各大洋。它们具有极高的智商和复杂的社交行为，通过回声定位...\n",
      "   元数据：{'pk': 462127634890358852, 'source': '动物', 'type': '海洋哺乳动物'}（文档ID：462127634890358852）\n",
      "3. 内容：仓鼠是啮齿目仓鼠科小型哺乳动物，原产于亚洲和欧洲部分地区。体型圆润，尾巴短小，毛色有金棕、银白、三线...\n",
      "   元数据：{'pk': 462127605046837251, 'source': '动物', 'type': '啮齿类哺乳动物'}（文档ID：462127605046837251）\n",
      "4. 内容：仓鼠是啮齿目仓鼠科小型哺乳动物，原产于亚洲和欧洲部分地区。体型圆润，尾巴短小，毛色有金棕、银白、三线...\n",
      "   元数据：{'pk': 462127634890358853, 'source': '动物', 'type': '啮齿类哺乳动物'}（文档ID：462127634890358853）\n",
      "5. 内容：黑猩猩是灵长目人科黑猩猩属动物，与人类亲缘关系最近，基因相似度高达 98% 以上。它们栖息在非洲热带...\n",
      "   元数据：{'pk': 462127605046837252, 'source': '生物', 'type': '非人灵长类'}（文档ID：462127605046837252）\n"
     ]
    }
   ],
   "source": [
    "print(\"\\n--- 基础相似性搜索 ---\")\n",
    "query = \"哺乳动物或植物\"\n",
    "results = vector_store.similarity_search(\n",
    "    query=query,  # 搜索query\n",
    "    k=5  # 返回Top5最相似结果\n",
    ")\n",
    "for i, doc in enumerate(results, 1):\n",
    "    print(f\"{i}. 内容：{doc.page_content[:50]}...\")\n",
    "    print(f\"   元数据：{doc.metadata}（文档ID：{doc.metadata['pk']}）\")\n"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "5b433bf0",
   "metadata": {},
   "source": [
    "## similarity_search_by_vector"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "id": "cefe51c8",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "--- 使用similarity_search_by_vector检索 ---\n",
      "1. 内容：鹦鹉是热带地区常见的鸟类，羽毛色彩艳丽，部分种类能模仿人类语言。它们主要以坚果、果实和种子为食，脚趾...\n",
      "   元数据：{'pk': 462127634890358875, 'source': '鸟类', 'type': '宠物/野生动物'}（文档ID：462127634890358875）\n",
      "2. 内容：海豚是齿鲸亚目海豚科哺乳动物，广泛分布于全球各大洋。它们具有极高的智商和复杂的社交行为，通过回声定位...\n",
      "   元数据：{'pk': 462127634890358852, 'source': '动物', 'type': '海洋哺乳动物'}（文档ID：462127634890358852）\n",
      "3. 内容：仓鼠是啮齿目仓鼠科小型哺乳动物，原产于亚洲和欧洲部分地区。体型圆润，尾巴短小，毛色有金棕、银白、三线...\n",
      "   元数据：{'pk': 462127605046837251, 'source': '动物', 'type': '啮齿类哺乳动物'}（文档ID：462127605046837251）\n",
      "4. 内容：仓鼠是啮齿目仓鼠科小型哺乳动物，原产于亚洲和欧洲部分地区。体型圆润，尾巴短小，毛色有金棕、银白、三线...\n",
      "   元数据：{'pk': 462127634890358853, 'source': '动物', 'type': '啮齿类哺乳动物'}（文档ID：462127634890358853）\n",
      "5. 内容：黑猩猩是灵长目人科黑猩猩属动物，与人类亲缘关系最近，基因相似度高达 98% 以上。它们栖息在非洲热带...\n",
      "   元数据：{'pk': 462127605046837252, 'source': '生物', 'type': '非人灵长类'}（文档ID：462127605046837252）\n"
     ]
    }
   ],
   "source": [
    "print(\"\\n--- 使用similarity_search_by_vector检索 ---\")\n",
    "query = \"哺乳动物或植物\"\n",
    "query_vector = embedding_vector.embed_query(query)\n",
    "results = vector_store.similarity_search_by_vector(\n",
    "    embedding=query_vector,  # 搜索query\n",
    "    k=5  # 返回Top5最相似结果\n",
    ")\n",
    "for i, doc in enumerate(results, 1):\n",
    "    print(f\"{i}. 内容：{doc.page_content[:50]}...\")\n",
    "    print(f\"   元数据：{doc.metadata}（文档ID：{doc.metadata['pk']}）\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "6e5e96ae",
   "metadata": {},
   "source": [
    "## 带milvus表达式(expr)的查询"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 25,
   "id": "8c5a8869",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "--- 使用similarity_search_by_vector检索 ---\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "1. 内容：鹦鹉是热带地区常见的鸟类，羽毛色彩艳丽，部分种类能模仿人类语言。它们主要以坚果、果实和种子为食，脚趾...\n",
      "   元数据：{'pk': 462127634890358875, 'source': '鸟类', 'type': '宠物/野生动物'}（文档ID：462127634890358875）\n"
     ]
    }
   ],
   "source": [
    "print(\"\\n--- 使用similarity_search_by_vector检索 ---\")\n",
    "query = \"哺乳动物或植物\"\n",
    "query_vector = embedding_vector.embed_query(query)\n",
    "results = vector_store.similarity_search_by_vector(\n",
    "    embedding=query_vector,  # 搜索query\n",
    "    k=5,  # 返回Top5最相似结果\n",
    "    expr=\"source == '鸟类'\"\n",
    ")\n",
    "for i, doc in enumerate(results, 1):\n",
    "    print(f\"{i}. 内容：{doc.page_content[:50]}...\")\n",
    "    print(f\"   元数据：{doc.metadata}（文档ID：{doc.metadata['pk']}）\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "86ce1033",
   "metadata": {},
   "source": [
    "## similarity_search_with_score"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 26,
   "id": "a77dd441",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "--- 使用similarity_search_with_score检索 ---\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "1. 相似度分数：0.8930\n",
      "   内容：鹦鹉是热带地区常见的鸟类，羽毛色彩艳丽，部分种类能模仿人类语言。它们主要以坚果、果实和种子为食，脚趾对生，适合抓握树枝。...\n",
      "   元数据：{'pk': 462127634890358875, 'source': '鸟类', 'type': '宠物/野生动物'}\n"
     ]
    }
   ],
   "source": [
    "print(\"\\n--- 使用similarity_search_with_score检索 ---\")\n",
    "query = \"哺乳动物或植物\"\n",
    "query_vector = embedding_vector.embed_query(query)\n",
    "results = vector_store.similarity_search_with_score(\n",
    "    query,  # 搜索query\n",
    "    k=5,  # 返回Top5最相似结果\n",
    "    expr=\"source == '鸟类'\"\n",
    ")\n",
    "for i, (doc, score) in enumerate(results, 1):\n",
    "    print(f\"\\n{i}. 相似度分数：{score:.4f}\")\n",
    "    print(f\"   内容：{doc.page_content[:60]}...\")\n",
    "    print(f\"   元数据：{doc.metadata}\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "d5922feb",
   "metadata": {},
   "source": [
    "## similarity_search_with_score_by_vector"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 27,
   "id": "fa16f342",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "用预生成向量搜索的鸟类文档及分数：\n",
      "\n",
      "1. 相似度分数：0.8930\n",
      "   内容：鹦鹉是热带地区常见的鸟类，羽毛色彩艳丽，部分种类能模仿人类语言。它们主要以坚果、果实和种子为食，脚趾对生，适合抓握树枝。...\n",
      "   元数据：{'pk': 462127634890358875, 'source': '鸟类', 'type': '宠物/野生动物'}\n"
     ]
    }
   ],
   "source": [
    "query = \"哺乳动物或植物\"\n",
    "query_vector = embedding_vector.embed_query(query) # 预生成向量（可缓存复用）\n",
    "# 检索：用预生成向量搜索，只保留 source=\"鸟类\" 的文档，返回Top2及分数\n",
    "results = vector_store.similarity_search_with_score_by_vector(\n",
    "    embedding=query_vector,  # 直接传入预生成的向量\n",
    "    k=2,\n",
    "    expr=\"source == '鸟类'\",  # 过滤条件：来源为鸟类\n",
    ")\n",
    "\n",
    "# 打印结果\n",
    "print(\"用预生成向量搜索的鸟类文档及分数：\")\n",
    "for i, (doc, score) in enumerate(results, 1):\n",
    "    print(f\"\\n{i}. 相似度分数：{score:.4f}\")\n",
    "    print(f\"   内容：{doc.page_content[:60]}...\")\n",
    "    print(f\"   元数据：{doc.metadata}\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "2f6c7097",
   "metadata": {},
   "source": [
    "## max_marginal_relevance_search(mrr)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 28,
   "id": "e457a3cb",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "MMR搜索结果（兼顾相关性和多样性）：\n",
      "  1内容：鹦鹉是热带地区常见的鸟类，羽毛色彩艳丽，部分种类能模仿人类语言。它们主要以坚果、果实和种子为食，脚趾对生，适合抓握树枝。...\n",
      "   元数据：{'pk': 462127634890358875, 'source': '鸟类', 'type': '宠物/野生动物'}\n",
      "  2内容：水母是海洋中的无脊椎动物，身体呈透明伞状，边缘有触手，部分种类能发光，通过喷水推进移动。...\n",
      "   元数据：{'pk': 462127605046837261, 'source': '水生生物', 'type': '无脊椎动物'}\n",
      "  3内容：肉桂是樟科植物的树皮，晒干后呈红棕色卷状，气味芳香，常用于烘焙、炖煮等料理的调味。...\n",
      "   元数据：{'pk': 462127605046837268, 'source': '调料', 'type': '香辛料'}\n"
     ]
    }
   ],
   "source": [
    "query = \"哺乳动物或植物\"\n",
    "# MMR搜索：从20条候选中选3条，平衡相关性和多样性\n",
    "results = vector_store.max_marginal_relevance_search(\n",
    "    query=query,\n",
    "    k=3,  # 最终返回3条\n",
    "    fetch_k=20,  # 先获取20条高相关候选\n",
    "    lambda_mult=0.5,  # 相关性和多样性各占50%\n",
    ")\n",
    "\n",
    "# 打印结果（观察是否包含不同类型的动物）\n",
    "print(\"MMR搜索结果（兼顾相关性和多样性）：\")\n",
    "for i, doc in enumerate(results, 1):\n",
    "    print(f\"  {i}内容：{doc.page_content[:60]}...\")\n",
    "    print(f\"   元数据：{doc.metadata}\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "e57f8aa4",
   "metadata": {},
   "source": [
    "## max_marginal_relevance_search_by_vector"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 29,
   "id": "99648787",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "MMR搜索结果（兼顾相关性和多样性）：\n",
      "  1内容：鹦鹉是热带地区常见的鸟类，羽毛色彩艳丽，部分种类能模仿人类语言。它们主要以坚果、果实和种子为食，脚趾对生，适合抓握树枝。...\n",
      "   元数据：{'pk': 462127634890358875, 'source': '鸟类', 'type': '宠物/野生动物'}\n",
      "  2内容：水母是海洋中的无脊椎动物，身体呈透明伞状，边缘有触手，部分种类能发光，通过喷水推进移动。...\n",
      "   元数据：{'pk': 462127605046837261, 'source': '水生生物', 'type': '无脊椎动物'}\n",
      "  3内容：肉桂是樟科植物的树皮，晒干后呈红棕色卷状，气味芳香，常用于烘焙、炖煮等料理的调味。...\n",
      "   元数据：{'pk': 462127605046837268, 'source': '调料', 'type': '香辛料'}\n"
     ]
    }
   ],
   "source": [
    "query = \"哺乳动物或植物\"\n",
    "query_vector = embedding_vector.embed_query(query)\n",
    "# MMR搜索：从20条候选中选3条，平衡相关性和多样性\n",
    "results = vector_store.max_marginal_relevance_search_by_vector(\n",
    "    embedding=query_vector,\n",
    "    k=3,  # 最终返回3条\n",
    "    fetch_k=20,  # 先获取20条高相关候选\n",
    "    lambda_mult=0.5,  # 相关性和多样性各占50%\n",
    ")\n",
    "\n",
    "# 打印结果（观察是否包含不同类型的动物）\n",
    "print(\"MMR搜索结果（兼顾相关性和多样性）：\")\n",
    "for i, doc in enumerate(results, 1):\n",
    "    print(f\"  {i}内容：{doc.page_content[:60]}...\")\n",
    "    print(f\"   元数据：{doc.metadata}\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "34d2ca2d",
   "metadata": {},
   "source": [
    "## 找到所有的pk"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 30,
   "id": "a8dec459",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[462127634890358875]"
      ]
     },
     "execution_count": 30,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "results = vector_store.get_pks(\n",
    "    expr=\"source == '鸟类'\",\n",
    ")\n",
    "results"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "d1f1db9b",
   "metadata": {},
   "source": [
    "## 根据metadata查询"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 31,
   "id": "f84b56a6",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "来源为'水生生物'的文档：\n",
      "\n",
      "1. 内容：三文鱼是冷水性溯河洄游鱼类，背部呈青灰色，肉质橙红富含Omega-3，繁殖期会从海洋洄游至淡水河流产卵。...\n",
      "   元数据：{'pk': 462127605046837260, 'source': '水生生物', 'text': '三文鱼是冷水性溯河洄游鱼类，背部呈青灰色，肉质橙红富含Omega-3，繁殖期会从海洋洄游至淡水河流产卵。', 'type': '食用鱼类', 'vector': [np.float32(-0.061386522), np.float32(-0.025285747), np.float32(-0.055345066), np.float32(-0.01164715), np.float32(-0.0030742788), np.float32(0.03898642), np.float32(-0.018256808), np.float32(0.016231801), np.float32(-0.025664017), np.float32(0.00795979), np.float32(-0.0011244752), np.float32(0.042638816), np.float32(-0.030922726), np.float32(-0.019051118), np.float32(-0.010183996), np.float32(-0.0074097696), np.float32(-0.012728419), np.float32(-0.019215018), np.float32(0.024252528), np.float32(-0.031627785), np.float32(-0.015149442), np.float32(-0.024638703), np.float32(-0.030011227), np.float32(-0.020527584), np.float32(0.017778752), np.float32(0.059461232), np.float32(0.051310174), np.float32(-0.020713506), np.float32(0.006548702), np.float32(0.000734336), np.float32(0.0036794709), np.float32(-0.041474383), np.float32(-0.029104829), np.float32(-0.015308576), np.float32(0.015786259), np.float32(-0.009271299), np.float32(0.021250557), np.float32(0.01301796), np.float32(-0.034719564), np.float32(-0.006918049), np.float32(0.024758257), np.float32(-0.012451723), np.float32(-0.016988387), np.float32(0.030434653), np.float32(-0.023075122), np.float32(-0.050252873), np.float32(0.0007910452), np.float32(-0.0028976614), np.float32(0.007301302), np.float32(-0.041215923), np.float32(0.0019044162), np.float32(5.76923e-05), np.float32(0.0658053), np.float32(0.035873644), np.float32(0.032662064), np.float32(0.037017267), np.float32(0.062381648), np.float32(0.030247653), np.float32(-0.0065356167), np.float32(0.001511765), np.float32(0.0064979307), np.float32(-0.005049205), np.float32(-0.005947772), np.float32(-0.009469146), np.float32(-0.039911874), np.float32(0.07541028), np.float32(-0.012891502), np.float32(-0.004112156), np.float32(-0.02496079), np.float32(0.0004009752), np.float32(0.03413311), np.float32(0.008707398), np.float32(-0.031538766), np.float32(-0.048357576), np.float32(-0.027572664), np.float32(0.03174414), np.float32(0.014025133), np.float32(-0.03175021), np.float32(-0.00016393143), np.float32(0.027855368), np.float32(-0.004364985), np.float32(0.042961013), np.float32(-0.033926424), np.float32(0.005768412), np.float32(0.023567135), np.float32(-0.021143373), np.float32(0.008767399), np.float32(-0.08468871), np.float32(-0.008154055), np.float32(-0.042421866), np.float32(-0.009210537), np.float32(0.029858874), np.float32(0.020258728), np.float32(-0.022113875), np.float32(-0.06399291), np.float32(0.0041562044), np.float32(-0.0415974), np.float32(-0.04986442), np.float32(-0.0005364523), np.float32(0.009746657), np.float32(0.0004639242), np.float32(-0.002332416), np.float32(-0.041238658), np.float32(-0.020623676), np.float32(0.020469517), np.float32(0.004307613), np.float32(0.031164363), np.float32(-0.008270327), np.float32(-0.012811578), np.float32(0.0033665986), np.float32(0.03307937), np.float32(0.01889087), np.float32(-0.003480929), np.float32(-0.0040499056), np.float32(-0.042958915), np.float32(0.029439583), np.float32(-0.052640654), np.float32(0.007268358), np.float32(0.008715382), np.float32(0.0067827464), np.float32(-0.031410713), np.float32(0.06341723), np.float32(0.027661258), np.float32(-0.013560025), np.float32(-0.02944828), np.float32(0.022820044), np.float32(-0.00701303), np.float32(0.08365), np.float32(-0.007643493), np.float32(0.007588841), np.float32(0.010393125), np.float32(0.0040666005), np.float32(-0.052754924), np.float32(0.01506114), np.float32(0.0030665782), np.float32(-0.06515021), np.float32(0.0590417), np.float32(-0.037252743), np.float32(-0.008846761), np.float32(-0.031514682), np.float32(0.018998012), np.float32(0.05725733), np.float32(-0.012542956), np.float32(-0.026029604), np.float32(0.01241417), np.float32(-0.01693873), np.float32(-0.020607902), np.float32(-0.015286684), np.float32(0.043418486), np.float32(-0.0006989454), np.float32(0.039678738), np.float32(0.0012106323), np.float32(0.034285385), np.float32(0.024316153), np.float32(0.013441759), np.float32(-0.030165985), np.float32(-0.018217897), np.float32(0.018797431), np.float32(0.0034500083), np.float32(0.005228177), np.float32(-0.010605932), np.float32(-0.033253986), np.float32(-0.017459862), np.float32(-0.034450673), np.float32(0.002658384), np.float32(0.049372572), np.float32(0.026122445), np.float32(0.028825887), np.float32(0.00846096), np.float32(0.00804336), np.float32(0.024145186), np.float32(0.026626889), np.float32(-0.027889267), np.float32(0.005363513), np.float32(-0.028203791), np.float32(0.016831152), np.float32(0.048855845), np.float32(0.012262473), np.float32(0.038099784), np.float32(-0.026385564), np.float32(-0.067878276), np.float32(0.01985564), np.float32(-0.012927019), np.float32(0.0021430461), np.float32(0.017764904), np.float32(-0.026834037), np.float32(-0.02351131), np.float32(-0.014267365), np.float32(-0.0025668277), np.float32(0.028127354), np.float32(-0.032106187), np.float32(-0.025844367), np.float32(0.024831729), np.float32(-0.008425578), np.float32(-0.0016278271), np.float32(-0.031539623), np.float32(-0.023540236), np.float32(-0.023320898), np.float32(-0.002405205), np.float32(0.024456097), np.float32(-0.03990374), np.float32(0.018828483), np.float32(-0.0054083923), np.float32(0.020644385), np.float32(0.009755978), np.float32(0.012096014), np.float32(-0.050974987), np.float32(-0.000378718), np.float32(0.022576438), np.float32(-0.0695703), np.float32(0.02061655), np.float32(0.01320205), np.float32(0.0059642945), np.float32(-0.03195773), np.float32(-0.043163233), np.float32(-0.031569596), np.float32(-0.011789257), np.float32(-0.034490258), np.float32(-0.012287966), np.float32(0.021180777), np.float32(-0.012929061), np.float32(-0.036868777), np.float32(0.029578913), np.float32(-0.03198864), np.float32(-0.017741004), np.float32(-0.020391854), np.float32(0.0032945417), np.float32(-0.0060749934), np.float32(-0.008274375), np.float32(-0.06707918), np.float32(-0.023105681), np.float32(0.015026437), np.float32(0.0013985207), np.float32(0.014202701), np.float32(-0.0038709098), np.float32(0.0047586323), np.float32(-0.02802137), np.float32(0.026564071), np.float32(-0.022505648), np.float32(0.013874103), np.float32(0.043825652), np.float32(-0.00038074923), np.float32(-0.01026312), np.float32(-0.014901614), np.float32(0.02599331), np.float32(-0.009994196), np.float32(-0.027652068), np.float32(0.05182258), np.float32(-0.0065653017), np.float32(0.0065215887), np.float32(-0.010144355), np.float32(-0.0160245), np.float32(-0.062065125), np.float32(0.06738753), np.float32(0.030255025), np.float32(0.024953758), np.float32(0.00414199), np.float32(0.011654862), np.float32(0.007072331), np.float32(-0.043354318), np.float32(0.008640955), np.float32(0.022058506), np.float32(0.01820948), np.float32(0.004301969), np.float32(0.062375385), np.float32(-0.022243973), np.float32(-0.0062171845), np.float32(0.020363113), np.float32(0.0213075), np.float32(0.038055), np.float32(-0.007346466), np.float32(0.010409704), np.float32(0.042684752), np.float32(0.038864266), np.float32(-0.015541859), np.float32(-0.002555209), np.float32(-0.002896541), np.float32(0.053614076), np.float32(0.022473847), np.float32(0.028678464), np.float32(-0.018356245), np.float32(0.034294248), np.float32(-0.0075252512), np.float32(0.02351439), np.float32(0.0007310282), np.float32(-0.032920558), np.float32(-0.028209405), np.float32(0.007315032), np.float32(0.0032060472), np.float32(0.0122647965), np.float32(0.021859054), np.float32(0.0027855104), np.float32(0.018444268), np.float32(-0.014138057), np.float32(-0.010733662), np.float32(0.012732565), np.float32(-0.0070426282), np.float32(-0.14914571), np.float32(-0.012666621), np.float32(0.00971375), np.float32(-0.019053072), np.float32(0.015747009), np.float32(-0.0020737138), np.float32(-0.00010518262), np.float32(-0.010979217), np.float32(-0.042040423), np.float32(-0.050261285), np.float32(-0.0026994857), np.float32(-0.03519176), np.float32(0.029211635), np.float32(-0.0011851587), np.float32(0.005961429), np.float32(-0.03764293), np.float32(0.022757797), np.float32(0.019768607), np.float32(-0.02387107), np.float32(-0.017011229), np.float32(-0.046872094), np.float32(-0.05882043), np.float32(0.029734068), np.float32(-0.012908337), np.float32(-0.019359976), np.float32(-0.03638973), np.float32(-0.0070032272), np.float32(-0.078168035), np.float32(-0.051809173), np.float32(-0.050811995), np.float32(0.018753935), np.float32(0.00012733375), np.float32(0.0012589098), np.float32(-0.020622509), np.float32(0.05391225), np.float32(0.03619108), np.float32(-0.039348587), np.float32(-0.009430566), np.float32(0.05699165), np.float32(-0.012955426), np.float32(0.019970471), np.float32(-0.009913643), np.float32(-0.005559773), np.float32(0.04292539), np.float32(-0.016329948), np.float32(-0.025447566), np.float32(-0.004868656), np.float32(0.07118826), np.float32(-0.008650188), np.float32(-0.0026803971), np.float32(0.028508142), np.float32(0.046773322), np.float32(-0.011910784), np.float32(0.018097369), np.float32(-0.056750912), np.float32(-0.017870149), np.float32(0.02637991), np.float32(0.07988557), np.float32(0.017324021), np.float32(0.05297428), np.float32(-0.013121822), np.float32(-0.031215983), np.float32(0.04023403), np.float32(0.0063765314), np.float32(-0.06786567), np.float32(-0.028585289), np.float32(0.021111883), np.float32(0.055788085), np.float32(-0.023840241), np.float32(-0.010714018), np.float32(-0.007705279), np.float32(0.014005748), np.float32(-0.008216676), np.float32(0.0004511165), np.float32(0.009863378), np.float32(0.025114894), np.float32(-0.039587528), np.float32(-0.016120475), np.float32(0.016173372), np.float32(-0.09405383), np.float32(-0.011403687), np.float32(-0.008016228), np.float32(-0.03289186), np.float32(-0.08350878), np.float32(0.0047303033), np.float32(-0.05918405), np.float32(0.009296518), np.float32(-0.021783112), np.float32(0.00037918202), np.float32(0.2457524), np.float32(0.00065085787), np.float32(-0.023838488), np.float32(-0.010962542), np.float32(-0.03051627), np.float32(-0.029656667), np.float32(-0.01698809), np.float32(0.010787291), np.float32(-0.011597619), np.float32(-0.007856945), np.float32(0.0020092381), np.float32(-0.046315756), np.float32(0.030839218), np.float32(-0.0043949825), np.float32(-0.06984721), np.float32(0.036871128), np.float32(0.014984268), np.float32(0.012009074), np.float32(0.0084248725), np.float32(0.04290507), np.float32(0.00088177546), np.float32(-0.003462771), np.float32(-0.011052339), np.float32(0.02272573), np.float32(-0.037709627), np.float32(-0.016371416), np.float32(-0.020736208), np.float32(0.02251068), np.float32(0.005282395), np.float32(0.040683206), np.float32(-0.024093332), np.float32(-0.014039548), np.float32(-0.015564652), np.float32(0.0579296), np.float32(-0.015253358), np.float32(-0.026289605), np.float32(0.029000178), np.float32(-0.0067003747), np.float32(-0.0120036565), np.float32(0.020029139), np.float32(-0.04932568), np.float32(-0.0136995055), np.float32(0.050798897), np.float32(-0.007490679), np.float32(0.025313174), np.float32(-0.017950125), np.float32(0.013344457), np.float32(-0.057524987), np.float32(-0.028999047), np.float32(0.016490525), np.float32(-0.03812815), np.float32(-0.035941973), np.float32(0.0074711908), np.float32(0.02275087), np.float32(0.009629791), np.float32(-0.074250795), np.float32(0.00576467), np.float32(-0.0005033341), np.float32(-0.02411973), np.float32(-0.0043805875), np.float32(-0.014494326), np.float32(0.010478564), np.float32(-0.03494339), np.float32(-0.0065195058), np.float32(-0.031584427), np.float32(-0.011406588), np.float32(-0.010212879), np.float32(-0.041914884), np.float32(0.04128692), np.float32(0.034931246), np.float32(0.018807463), np.float32(-0.04786911), np.float32(-0.020909108), np.float32(-0.017128645), np.float32(-0.0013214566), np.float32(0.0508218), np.float32(-0.010261303), np.float32(0.016552066), np.float32(-0.06415897), np.float32(0.019532014), np.float32(-0.035499353), np.float32(0.008515818), np.float32(-0.04936469), np.float32(-0.052027192), np.float32(0.038707547), np.float32(-0.0026146304), np.float32(0.023298148), np.float32(0.026524244), np.float32(0.06375962), np.float32(-0.03641111), np.float32(-0.043176536), np.float32(0.03648815), np.float32(-0.0075506936), np.float32(0.007970345), np.float32(0.04247175), np.float32(-0.0072082165), np.float32(-0.046295986), np.float32(-0.027403677), np.float32(-0.024643114), np.float32(-0.002044941), np.float32(-0.06214459), np.float32(-0.026608255), np.float32(0.010330966), np.float32(-0.025216553), np.float32(0.048950486), np.float32(-0.01286043), np.float32(-0.032331984), np.float32(0.032864146), np.float32(-0.04566937), np.float32(-0.011845105), np.float32(-0.019709792), np.float32(0.0015707981), np.float32(0.0029955783), np.float32(0.009668296), np.float32(0.02852838), np.float32(0.037350185), np.float32(-0.019383801), np.float32(0.054672465), np.float32(0.0044887527), np.float32(0.017849527), np.float32(-0.0009491162), np.float32(-0.038559668), np.float32(0.058769304), np.float32(0.0021606844), np.float32(-0.021486603), np.float32(-0.022696538), np.float32(0.029947897), np.float32(0.02494338), np.float32(-0.013700212), np.float32(0.04794845), np.float32(-0.023747705), np.float32(-0.0064285183), np.float32(-0.03392619), np.float32(-0.0071983677), np.float32(0.057224542), np.float32(0.012727374), np.float32(0.010767995), np.float32(6.16183e-05), np.float32(-0.0014929852), np.float32(0.011927318), np.float32(0.002454402), np.float32(0.08650155), np.float32(0.0032208797), np.float32(-0.011420577), np.float32(-0.020076834), np.float32(-0.0061101313), np.float32(0.024966927), np.float32(0.021902587), np.float32(-0.00811284), np.float32(-0.022487711), np.float32(-0.012018848), np.float32(0.06385335), np.float32(0.028349128), np.float32(0.019660791), np.float32(0.0027905726), np.float32(-0.017939907), np.float32(-0.024973314), np.float32(-0.029890371), np.float32(-0.023173), np.float32(0.016539121), np.float32(-0.027206678), np.float32(-0.011006619), np.float32(-0.00803988), np.float32(0.05909289), np.float32(-0.012081122), np.float32(0.00043087083), np.float32(-0.0042120754), np.float32(0.02577386), np.float32(0.007910734), np.float32(-0.016012233), np.float32(0.029534306), np.float32(-0.043008633), np.float32(-0.02751208), np.float32(0.045861535), np.float32(-0.01064832), np.float32(0.018910386), np.float32(-0.08731284), np.float32(-0.040209875), np.float32(0.018125122), np.float32(0.004322732), np.float32(0.009651095), np.float32(0.029411089), np.float32(0.07404074), np.float32(0.054786507), np.float32(0.019578878), np.float32(0.023637373), np.float32(-0.030709054), np.float32(-0.034744874), np.float32(0.017391112), np.float32(-0.012190888), np.float32(0.054980494), np.float32(0.10524275), np.float32(-0.021980876), np.float32(0.0013575315), np.float32(-0.026921785), np.float32(0.014890815), np.float32(0.0058873803), np.float32(0.0651807), np.float32(0.004268669), np.float32(-0.050573774), np.float32(-0.030180084), np.float32(-0.057026546), np.float32(0.022264495), np.float32(0.016361544), np.float32(-0.012437221), np.float32(-0.015150546), np.float32(-0.06284061), np.float32(0.051734976), np.float32(-0.007946631), np.float32(0.008160122), np.float32(0.019576011), np.float32(-0.025780562), np.float32(0.009877011), np.float32(0.007284207), np.float32(-0.00081134256), np.float32(-0.045663264), np.float32(-0.05735302), np.float32(0.010119186), np.float32(-0.0013174175), np.float32(-0.033974417), np.float32(0.024917647), np.float32(0.023477495), np.float32(-0.0045194584), np.float32(-0.034879643), np.float32(-0.030297607), np.float32(0.0010540001), np.float32(-0.021985624), np.float32(-0.002495258), np.float32(-0.0082894545), np.float32(0.045671754), np.float32(0.0038612215), np.float32(0.031382464), np.float32(-0.046131033), np.float32(0.040279474), np.float32(0.014820216), np.float32(0.008724736), np.float32(-0.01584248), np.float32(0.031072957), np.float32(-0.039332245), np.float32(-0.032094542), np.float32(0.004121084), np.float32(0.029214852), np.float32(-0.023137642), np.float32(0.019046448), np.float32(-0.0048104157), np.float32(0.042080656), np.float32(0.010696127), np.float32(0.01598662), np.float32(0.027963331), np.float32(0.024661329), np.float32(0.0004626905), np.float32(0.06399918), np.float32(0.044963803), np.float32(0.03758462), np.float32(0.048842717), np.float32(0.049992163), np.float32(0.011318372), np.float32(0.003582337), np.float32(0.004358726), np.float32(-0.0101432195), np.float32(-0.008251097), np.float32(0.059763756), np.float32(0.03226119), np.float32(0.024808602), np.float32(0.0056642406), np.float32(-0.033468585), np.float32(0.037464235), np.float32(0.00461018), np.float32(-0.0042529656), np.float32(0.0047024773), np.float32(-0.045386076), np.float32(0.010997104), np.float32(0.013143141), np.float32(0.012488295), np.float32(0.08449963), np.float32(-0.018207897), np.float32(-0.019435111), np.float32(0.0083675515), np.float32(0.015625706), np.float32(-0.008000103), np.float32(-0.009485676), np.float32(-0.013982791), np.float32(0.011061096), np.float32(-0.05855212), np.float32(-0.017105615), np.float32(-0.030412994), np.float32(0.012165982), np.float32(0.0148824), np.float32(-0.0053290413), np.float32(-0.024378788), np.float32(0.022319565), np.float32(-0.046710227), np.float32(-0.021101162), np.float32(0.0002567136), np.float32(-0.013707178), np.float32(0.025944997), np.float32(-0.0050081164), np.float32(0.025549114), np.float32(-0.04182102), np.float32(0.009635992), np.float32(-0.02460449), np.float32(0.022906955), np.float32(0.0027944122), np.float32(0.009531232), np.float32(0.004948922), np.float32(-0.018566677), np.float32(0.0016425512), np.float32(-0.022128668), np.float32(-0.0028302795), np.float32(0.06257508), np.float32(0.011226037), np.float32(-0.043837164), np.float32(0.0068770507), np.float32(0.03816279), np.float32(-0.009489607), np.float32(-0.008664514), np.float32(0.028069692), np.float32(-0.019075587), np.float32(0.008468141), np.float32(0.0038383456), np.float32(-0.011171263), np.float32(-0.01589621), np.float32(-0.00026500763), np.float32(-0.0076099704), np.float32(-0.04750458), np.float32(-0.006334484), np.float32(-0.0034830568), np.float32(0.018181132), np.float32(-0.0650461), np.float32(-0.015583591), np.float32(-0.039572805), np.float32(-0.020726716), np.float32(-0.024564592), np.float32(-0.06356803), np.float32(0.03391912), np.float32(0.011424912), np.float32(-0.009862025), np.float32(-0.009734626), np.float32(-0.019677512), np.float32(-0.011239531), np.float32(-0.006978432), np.float32(0.042826463), np.float32(0.06261825), np.float32(0.020162797), np.float32(0.026783535), np.float32(-0.011240143), np.float32(-0.035315167), np.float32(0.02640707), np.float32(0.01764178), np.float32(-0.00625961), np.float32(-0.0014101786), np.float32(0.03712496), np.float32(-0.023195624), np.float32(-0.05168052), np.float32(0.011505993), np.float32(0.007969716), np.float32(-0.023073174), np.float32(0.005296649), np.float32(0.07800733), np.float32(0.008002593), np.float32(-0.011337017), np.float32(0.00673739), np.float32(-0.07591422), np.float32(0.013716317), np.float32(0.013502831), np.float32(0.04317382), np.float32(0.011894217), np.float32(-0.03972423), np.float32(-0.06032309), np.float32(-0.03570995), np.float32(0.027295537), np.float32(0.035616674), np.float32(-0.018944949), np.float32(0.029011782), np.float32(0.0050773146), np.float32(0.0054908264), np.float32(-0.07069457), np.float32(-0.0027380257), np.float32(0.056456253), np.float32(0.019973569), np.float32(-0.013193159), np.float32(-0.008607157), np.float32(-0.02770283), np.float32(-0.01375689), np.float32(0.022704698), np.float32(-0.0031503967), np.float32(0.03137752), np.float32(-0.010301131), np.float32(0.016176933), np.float32(-0.027892623), np.float32(0.013608314), np.float32(0.0023392963), np.float32(-0.014490876), np.float32(0.0030725873), np.float32(-0.11809088), np.float32(0.011195797), np.float32(0.009121428), np.float32(0.0384258), np.float32(-0.040777475), np.float32(-0.023536935), np.float32(0.011204408), np.float32(-0.047817044), np.float32(-0.013946704), np.float32(-0.020396294), np.float32(-0.038695876), np.float32(-0.019779842), np.float32(0.0107072815), np.float32(-0.029645322), np.float32(0.05273254), np.float32(0.016736766), np.float32(0.0011676897), np.float32(-0.008155112), np.float32(0.03172921), np.float32(0.045675214), np.float32(-0.021585945), np.float32(0.0008903081), np.float32(0.013117007), np.float32(0.03297253), np.float32(-0.010268966), np.float32(0.033094037), np.float32(-0.0022193373), np.float32(0.018275833), np.float32(-0.030831026), np.float32(0.0012169228), np.float32(0.057882164), np.float32(-0.046432603), np.float32(-0.010109671), np.float32(0.031269323), np.float32(-0.024954978), np.float32(0.028675292), np.float32(0.015638322), np.float32(-0.05320672), np.float32(-0.025533196), np.float32(0.01703889), np.float32(0.011159495), np.float32(0.040684097), np.float32(0.021340478), np.float32(-0.032241415), np.float32(-0.015270849), np.float32(0.027806848), np.float32(-0.035832163), np.float32(-0.0061661373), np.float32(0.026614346), np.float32(0.0030930236), np.float32(0.033055123), np.float32(0.008934247), np.float32(0.052938446), np.float32(0.048474107), np.float32(-0.014087459), np.float32(0.013755867), np.float32(-0.06861404), np.float32(-0.007235275), np.float32(0.028645426), np.float32(0.00208424), np.float32(-0.028585834), np.float32(-0.038529914), np.float32(0.0010230301), np.float32(-0.051460978), np.float32(-0.017281221), np.float32(0.0032893638), np.float32(-0.015828187), np.float32(0.01471865), np.float32(-0.030999318), np.float32(0.02389898), np.float32(0.0011097757), np.float32(-0.045084327), np.float32(0.069015525), np.float32(-0.053600613), np.float32(-0.02434155), np.float32(0.041439388), np.float32(-0.03815128), np.float32(-0.05476262), np.float32(0.0007247974), np.float32(-0.046880927), np.float32(-0.006379051), np.float32(-0.042481482), np.float32(-0.02284378), np.float32(0.0479687), np.float32(-0.0026124716), np.float32(0.036523648), np.float32(-0.012314608), np.float32(0.013125569), np.float32(-0.042801388), np.float32(-0.014399495), np.float32(-0.044947684), np.float32(-0.017183322), np.float32(-0.0016845837), np.float32(-0.047991242), np.float32(-0.02687051), np.float32(0.0135704735), np.float32(-0.06109976), np.float32(-0.015574869), np.float32(-0.022205334), np.float32(-0.030055864), np.float32(-0.00025490733), np.float32(-0.012335911), np.float32(0.0018667841), np.float32(-0.0044586533), np.float32(-0.024030266), np.float32(0.04434075), np.float32(0.0046249037), np.float32(0.02873802), np.float32(0.0058135074), np.float32(0.071461864), np.float32(0.011491687), np.float32(-0.005938057), np.float32(-0.026130252), np.float32(-8.124719e-05), np.float32(0.0033806658), np.float32(0.012313043), np.float32(0.018153962), np.float32(0.04596849), np.float32(-0.025041018), np.float32(0.051155515), np.float32(0.025204618), np.float32(-0.051562846), np.float32(-0.037379105), np.float32(-0.0123509625), np.float32(-0.017844344), np.float32(-0.05538088), np.float32(0.00065721414), np.float32(0.018499063), np.float32(0.034405038), np.float32(-0.029662943), np.float32(-0.0023322839), np.float32(-0.05404187), np.float32(-0.016474549), np.float32(0.021835348), np.float32(0.01840863), np.float32(-0.016396727), np.float32(-0.0006851506), np.float32(-0.009191436), np.float32(0.0016458904), np.float32(-0.0039333804), np.float32(-0.0013492564), np.float32(0.0072419103), np.float32(0.04215161), np.float32(-0.021771137), np.float32(-0.022769973), np.float32(-0.021836972), np.float32(0.030208725), np.float32(-0.048974466), np.float32(-0.0052726297), np.float32(0.03687904), np.float32(-0.01108835), np.float32(0.02932874), np.float32(0.015716683), np.float32(0.052637637), np.float32(0.009241442), np.float32(0.002870523), np.float32(-0.03475464), np.float32(0.020119607), np.float32(0.015047137), np.float32(0.041164156), np.float32(0.00048826745), np.float32(-0.08561432), np.float32(0.021543326), np.float32(-0.0075108674), np.float32(-0.020801716), np.float32(-0.018144764), np.float32(-0.007906706), np.float32(0.017788934), np.float32(0.00084100687), np.float32(-0.0047367276), np.float32(-0.013649091), np.float32(0.0042718765), np.float32(-0.02080041), np.float32(-0.0052409256), np.float32(-0.0016064069), np.float32(0.0065437006), np.float32(0.0059911218), np.float32(-0.011244093), np.float32(0.05679478), np.float32(0.017622015), np.float32(0.02243905), np.float32(0.021422045), np.float32(-0.027894963), np.float32(0.005917231), np.float32(0.008082441), np.float32(0.051671915), np.float32(-0.003060952), np.float32(0.009241424), np.float32(0.006704019), np.float32(0.01603783), np.float32(0.004036582), np.float32(-0.0058245063), np.float32(-0.03306163), np.float32(0.006919159), np.float32(0.0211002), np.float32(0.039411504), np.float32(0.032459658), np.float32(0.018551778), np.float32(-0.06501278), np.float32(0.029996984), np.float32(-0.011693466), np.float32(-0.018261794), np.float32(-0.0103276735), np.float32(0.016530642), np.float32(-0.022733295), np.float32(-0.037151355), np.float32(-0.0017990588), np.float32(-0.010383391), np.float32(-0.012739245), np.float32(0.0042278073), np.float32(0.025865944), np.float32(-0.0039468654), np.float32(0.018301107), np.float32(0.033087507), np.float32(0.009034523), np.float32(0.006959724), np.float32(0.024776964), np.float32(-0.053349517), np.float32(0.026900304), np.float32(0.008391149), np.float32(-0.0019290508), np.float32(0.06455025), np.float32(-0.04678883), np.float32(0.04155043), np.float32(0.03113212), np.float32(-0.012223743), np.float32(-0.029961994), np.float32(0.017453833), np.float32(0.0043533514), np.float32(0.015514644), np.float32(-0.053951774), np.float32(0.0564421), np.float32(0.006007901), np.float32(0.023887387), np.float32(-0.00049007934), np.float32(0.0033479407), np.float32(0.030039439), np.float32(0.029141426), np.float32(0.037727583), np.float32(0.025269156), np.float32(0.023066392), np.float32(-0.0077303066), np.float32(0.035113685), np.float32(-0.014865028)]}\n",
      "\n",
      "2. 内容：水母是海洋中的无脊椎动物，身体呈透明伞状，边缘有触手，部分种类能发光，通过喷水推进移动。...\n",
      "   元数据：{'pk': 462127605046837261, 'source': '水生生物', 'text': '水母是海洋中的无脊椎动物，身体呈透明伞状，边缘有触手，部分种类能发光，通过喷水推进移动。', 'type': '无脊椎动物', 'vector': [np.float32(-0.062062178), np.float32(0.01651275), np.float32(-0.043581367), np.float32(0.015766298), np.float32(-0.015704626), np.float32(-0.0013659938), np.float32(0.0047504753), np.float32(0.027540334), np.float32(0.00082714215), np.float32(0.02515734), np.float32(-0.00076749956), np.float32(0.01908013), np.float32(-0.0075962), np.float32(-0.037182868), np.float32(-0.008507813), np.float32(0.029936356), np.float32(0.042859823), np.float32(0.0019429817), np.float32(0.012816174), np.float32(-0.01330979), np.float32(0.019863706), np.float32(0.00087709964), np.float32(0.029983213), np.float32(0.00068201317), np.float32(0.010834925), np.float32(0.011042616), np.float32(-0.022587232), np.float32(-0.025271293), np.float32(0.0074832193), np.float32(-0.031120298), np.float32(0.020191392), np.float32(0.006440128), np.float32(-0.045423254), np.float32(0.014481422), np.float32(-0.020193085), np.float32(-0.042214464), np.float32(-0.025046907), np.float32(-0.024918204), np.float32(-0.00589817), np.float32(0.044961713), np.float32(-0.024591347), np.float32(-0.03590501), np.float32(0.007625176), np.float32(0.007053912), np.float32(-0.011210653), np.float32(-0.026569955), np.float32(-0.028849257), np.float32(-0.006023983), np.float32(-0.06811336), np.float32(-0.04877395), np.float32(-0.015869157), np.float32(-0.00885458), np.float32(0.051262178), np.float32(-0.0092604095), np.float32(0.012980885), np.float32(-0.0086176675), np.float32(-0.018623812), np.float32(-0.010984616), np.float32(-0.0150074195), np.float32(0.00025123998), np.float32(-0.014103022), np.float32(0.059422076), np.float32(-0.03770347), np.float32(-0.027418407), np.float32(0.020679675), np.float32(0.08665449), np.float32(-0.0067183156), np.float32(-0.006278083), np.float32(-0.009070463), np.float32(0.0026028296), np.float32(0.024897007), np.float32(0.014153821), np.float32(-0.012471747), np.float32(-0.032251183), np.float32(-0.022055104), np.float32(0.015294311), np.float32(-0.02932136), np.float32(-0.014117401), np.float32(-0.049104467), np.float32(0.018764384), np.float32(-0.0005163597), np.float32(0.027579093), np.float32(0.014584891), np.float32(0.030253196), np.float32(-0.045105986), np.float32(0.060759872), np.float32(0.013681497), np.float32(-0.025424322), np.float32(0.017893381), np.float32(-0.012234768), np.float32(-0.005642553), np.float32(-0.016872125), np.float32(0.05461075), np.float32(-0.05165641), np.float32(-0.036844216), np.float32(0.007790442), np.float32(0.036779117), np.float32(-0.005359959), np.float32(0.031032627), np.float32(0.010912301), np.float32(0.019163886), np.float32(-0.008137506), np.float32(-0.023510594), np.float32(-0.049580976), np.float32(-0.015435054), np.float32(-0.043296624), np.float32(0.035283506), np.float32(0.014874405), np.float32(0.00080271985), np.float32(0.0007875392), np.float32(0.045215275), np.float32(0.04359711), np.float32(0.006786113), np.float32(-0.001001431), np.float32(-0.028991146), np.float32(-0.0037312564), np.float32(-0.005975113), np.float32(-0.013101284), np.float32(-0.0041923136), np.float32(0.010623745), np.float32(-0.020931538), np.float32(0.03019404), np.float32(0.006163997), np.float32(-0.01865806), np.float32(-0.0071736765), np.float32(-0.044138093), np.float32(-0.0016868202), np.float32(0.0037106117), np.float32(0.0065796017), np.float32(0.044937756), np.float32(-0.011309967), np.float32(-0.03409026), np.float32(-0.01062068), np.float32(0.01702114), np.float32(-0.036544673), np.float32(-0.0283865), np.float32(0.013857614), np.float32(0.006429914), np.float32(0.00058716483), np.float32(-0.0054422393), np.float32(-0.0040038233), np.float32(0.0034638296), np.float32(0.0430393), np.float32(-0.032609135), np.float32(0.03347128), np.float32(-0.05392995), np.float32(0.004668973), np.float32(-0.0041424274), np.float32(0.0059443987), np.float32(0.03434733), np.float32(-0.014211099), np.float32(0.032713715), np.float32(0.062313054), np.float32(0.019869216), np.float32(-0.014463651), np.float32(0.01775812), np.float32(-0.05721498), np.float32(-0.053672325), np.float32(0.004018894), np.float32(0.024804944), np.float32(0.038357403), np.float32(-0.017519288), np.float32(-0.040564723), np.float32(0.032645576), np.float32(0.014121293), np.float32(0.008157492), np.float32(0.045706257), np.float32(0.035876922), np.float32(0.03961097), np.float32(-0.04078649), np.float32(-0.014470421), np.float32(0.009080554), np.float32(-0.05084839), np.float32(0.044390444), np.float32(-0.025113532), np.float32(0.02679046), np.float32(0.019358743), np.float32(0.008900054), np.float32(0.01096869), np.float32(-0.032957908), np.float32(-0.070145726), np.float32(-0.04387183), np.float32(-0.027285187), np.float32(-0.022020044), np.float32(0.008651347), np.float32(-0.018005429), np.float32(-0.037115578), np.float32(-0.004562269), np.float32(-0.02983588), np.float32(0.011443027), np.float32(-0.004107152), np.float32(-0.016915133), np.float32(-0.01979184), np.float32(-0.024666859), np.float32(0.050707933), np.float32(-0.04303874), np.float32(0.013140531), np.float32(0.028590597), np.float32(-0.029588418), np.float32(0.0062741684), np.float32(-0.007872032), np.float32(0.01740675), np.float32(0.027719112), np.float32(-0.02459436), np.float32(-0.024249977), np.float32(-0.01012711), np.float32(-0.067422725), np.float32(-0.015024498), np.float32(-0.026387941), np.float32(-0.027409807), np.float32(0.019946054), np.float32(0.05331569), np.float32(0.010301006), np.float32(-0.0486129), np.float32(-0.039267436), np.float32(-0.023151744), np.float32(0.0013875681), np.float32(-0.014860438), np.float32(-0.017951163), np.float32(-0.01156214), np.float32(-0.017376214), np.float32(0.021497851), np.float32(-0.009276784), np.float32(-0.020131174), np.float32(0.041920517), np.float32(0.0023987028), np.float32(0.034513425), np.float32(0.039386943), np.float32(-0.0073248176), np.float32(-0.002150686), np.float32(-0.03069331), np.float32(0.061395306), np.float32(-0.02155037), np.float32(-0.011575689), np.float32(0.0049872426), np.float32(-0.04101444), np.float32(-0.051041834), np.float32(-0.008299814), np.float32(-0.0050185313), np.float32(0.048099443), np.float32(-0.016803568), np.float32(-0.035679776), np.float32(0.006699079), np.float32(0.026021909), np.float32(-0.0075476686), np.float32(0.019990133), np.float32(0.0049661347), np.float32(-0.006414333), np.float32(0.020413177), np.float32(0.003868683), np.float32(0.015128773), np.float32(-0.0025549077), np.float32(-0.012899561), np.float32(0.04619904), np.float32(-0.001922045), np.float32(-0.0062378645), np.float32(-0.026744924), np.float32(-0.012319924), np.float32(0.029973285), np.float32(-0.030167056), np.float32(0.005666301), np.float32(-0.007858983), np.float32(0.04179897), np.float32(-0.009980518), np.float32(0.025847802), np.float32(-0.006036935), np.float32(-0.02248386), np.float32(0.02624012), np.float32(0.012858053), np.float32(0.029274352), np.float32(-0.028535664), np.float32(-0.0037978597), np.float32(0.017259642), np.float32(0.023758028), np.float32(0.01243444), np.float32(0.0316592), np.float32(-0.019070454), np.float32(0.01187956), np.float32(0.029743401), np.float32(0.04675885), np.float32(0.040136725), np.float32(-0.03523188), np.float32(-0.034478083), np.float32(0.015141924), np.float32(0.021966584), np.float32(-0.014942277), np.float32(-0.006621948), np.float32(0.01258266), np.float32(0.01697738), np.float32(-0.018832946), np.float32(0.030096935), np.float32(-0.051200133), np.float32(0.03572728), np.float32(0.01383667), np.float32(-0.033068676), np.float32(0.019165635), np.float32(-0.0358516), np.float32(-0.15857118), np.float32(0.022600606), np.float32(0.018482186), np.float32(-0.0013661615), np.float32(0.0018155028), np.float32(-0.018118735), np.float32(-0.00086521456), np.float32(-0.0049079536), np.float32(-0.038340077), np.float32(-0.035923466), np.float32(0.00967089), np.float32(-0.036881633), np.float32(-0.018498382), np.float32(0.006415876), np.float32(0.00019894718), np.float32(-0.03308037), np.float32(0.021824697), np.float32(0.0076865773), np.float32(-0.035127062), np.float32(-0.021392286), np.float32(-0.061507862), np.float32(-0.04173573), np.float32(0.08053838), np.float32(-0.016713865), np.float32(-0.02861593), np.float32(-0.023883147), np.float32(-0.047810897), np.float32(-0.018361518), np.float32(-0.033506013), np.float32(-0.055073008), np.float32(0.0011575609), np.float32(0.044267837), np.float32(-0.0038812), np.float32(0.003744029), np.float32(0.010084207), np.float32(0.020557204), np.float32(0.010542978), np.float32(0.055130664), np.float32(0.003219918), np.float32(-0.003442114), np.float32(0.042941164), np.float32(0.030848172), np.float32(0.009898491), np.float32(0.030295901), np.float32(-0.016167516), np.float32(-0.046263132), np.float32(-0.0051678736), np.float32(0.06722045), np.float32(-0.0008542241), np.float32(0.01118996), np.float32(0.06583437), np.float32(0.035209727), np.float32(0.020417912), np.float32(-0.040590927), np.float32(-0.03226729), np.float32(-0.027534377), np.float32(0.076269016), np.float32(0.015965018), np.float32(0.038289003), np.float32(0.049971484), np.float32(-0.021889504), np.float32(-0.015523279), np.float32(0.05257785), np.float32(-0.02931171), np.float32(-0.01313959), np.float32(-0.03617524), np.float32(0.026582636), np.float32(0.005713195), np.float32(0.023270583), np.float32(-0.021548789), np.float32(-0.019691734), np.float32(-0.023927482), np.float32(0.006323353), np.float32(-0.015928373), np.float32(-0.026701218), np.float32(0.042251036), np.float32(-0.019105077), np.float32(-0.021206796), np.float32(0.013738278), np.float32(-0.09044172), np.float32(0.021972954), np.float32(-0.0067782956), np.float32(0.032291237), np.float32(-0.027825372), np.float32(-0.0152737405), np.float32(-0.013422824), np.float32(0.024781508), np.float32(-0.02969252), np.float32(0.09585618), np.float32(0.2463213), np.float32(0.007556442), np.float32(-0.025616456), np.float32(0.035416167), np.float32(0.03196296), np.float32(-0.005322289), np.float32(0.010693168), np.float32(-0.0063756024), np.float32(0.01661201), np.float32(-0.017961603), np.float32(-0.012917211), np.float32(-0.062089026), np.float32(0.028262576), np.float32(0.009594498), np.float32(-0.039951853), np.float32(0.0076419), np.float32(0.013895424), np.float32(-0.01672951), np.float32(0.044224188), np.float32(-0.004414831), np.float32(0.012856887), np.float32(-0.00231681), np.float32(-0.012829752), np.float32(0.031054104), np.float32(-0.026985614), np.float32(-0.028962249), np.float32(-0.0030944436), np.float32(0.05654157), np.float32(0.004319288), np.float32(-0.021429155), np.float32(-0.02728698), np.float32(-0.031459652), np.float32(0.018523382), np.float32(0.04253558), np.float32(-0.07779237), np.float32(-0.04571823), np.float32(0.0006170363), np.float32(0.015543338), np.float32(-0.0148391025), np.float32(0.03708545), np.float32(-0.024321105), np.float32(-0.014288577), np.float32(0.040134303), np.float32(0.026379382), np.float32(0.043315), np.float32(0.0066097733), np.float32(0.058855917), np.float32(-0.048005104), np.float32(-0.0013524906), np.float32(-0.019043121), np.float32(-0.0063469773), np.float32(-0.040301446), np.float32(-0.01581833), np.float32(0.022850739), np.float32(-0.028764095), np.float32(-0.055435568), np.float32(0.019622901), np.float32(-0.02423839), np.float32(0.010018659), np.float32(-0.019418506), np.float32(0.01866832), np.float32(0.01507016), np.float32(-0.06413864), np.float32(0.00010996495), np.float32(-0.0060553104), np.float32(-0.03242454), np.float32(-0.026800014), np.float32(-0.04399819), np.float32(0.057350177), np.float32(0.017997585), np.float32(0.03325364), np.float32(-0.031360645), np.float32(-0.023534665), np.float32(0.006440334), np.float32(0.03205838), np.float32(0.040886153), np.float32(-0.05087622), np.float32(-0.0044444744), np.float32(0.031131439), np.float32(-0.0035184417), np.float32(-0.0012703105), np.float32(0.0030786314), np.float32(-0.0088290265), np.float32(0.006452678), np.float32(0.029326005), np.float32(0.018075392), np.float32(-0.008208489), np.float32(0.04782592), np.float32(0.037999827), np.float32(-0.014775445), np.float32(-0.04091849), np.float32(-0.010721671), np.float32(-0.023870818), np.float32(0.032664757), np.float32(0.0069695543), np.float32(0.004919475), np.float32(-0.059534393), np.float32(-0.005997546), np.float32(-0.02888129), np.float32(0.0005381417), np.float32(-0.020173304), np.float32(-0.0043975855), np.float32(0.015597162), np.float32(-0.010140922), np.float32(0.031904273), np.float32(-0.065223016), np.float32(0.045590863), np.float32(0.026043365), np.float32(-0.018226502), np.float32(-0.010840203), np.float32(-0.04405466), np.float32(0.00819382), np.float32(-6.3192274e-05), np.float32(0.0058463193), np.float32(0.02431859), np.float32(0.020407867), np.float32(0.012069306), np.float32(0.058546674), np.float32(-0.02959619), np.float32(0.018532054), np.float32(-0.0054922816), np.float32(-0.03311599), np.float32(-0.0019805925), np.float32(-0.044449355), np.float32(-0.047714964), np.float32(-0.0033156658), np.float32(0.056879137), np.float32(0.0349715), np.float32(0.027127195), np.float32(0.06190489), np.float32(-0.0014088253), np.float32(-0.047261238), np.float32(-0.05258845), np.float32(0.040351104), np.float32(0.035277862), np.float32(0.0038856168), np.float32(0.060832728), np.float32(0.035280824), np.float32(0.004227002), np.float32(0.027316097), np.float32(-0.025854155), np.float32(0.034095492), np.float32(-0.009745086), np.float32(-0.023289457), np.float32(-0.008908426), np.float32(-0.01625275), np.float32(-0.009841714), np.float32(0.008986688), np.float32(0.018758811), np.float32(-0.030335926), np.float32(-0.0023786647), np.float32(0.056477882), np.float32(0.047575716), np.float32(-0.043880984), np.float32(-0.00895819), np.float32(-0.014707654), np.float32(-0.005878699), np.float32(-0.0027118155), np.float32(0.005251438), np.float32(-0.034444172), np.float32(-0.014719938), np.float32(-0.030334547), np.float32(-0.016917534), np.float32(0.038955584), np.float32(0.028713133), np.float32(0.026749913), np.float32(0.0031312266), np.float32(0.026485423), np.float32(0.0066906856), np.float32(-0.011766367), np.float32(-0.01122461), np.float32(-0.06471123), np.float32(-0.056552082), np.float32(0.053564508), np.float32(0.014611407), np.float32(-0.029585673), np.float32(-0.089821234), np.float32(-0.040724907), np.float32(-0.004327897), np.float32(0.0093625), np.float32(0.036724925), np.float32(0.046263706), np.float32(0.034682944), np.float32(0.033830542), np.float32(0.036950115), np.float32(-0.014183217), np.float32(-0.0021149989), np.float32(-0.011800564), np.float32(0.025917372), np.float32(-0.004594541), np.float32(0.014569331), np.float32(0.09505468), np.float32(0.017274609), np.float32(-0.026387703), np.float32(0.07596741), np.float32(-0.020182716), np.float32(0.0020491323), np.float32(0.01089484), np.float32(-0.0042730984), np.float32(-0.048059948), np.float32(0.012314353), np.float32(-0.04377157), np.float32(0.0020628662), np.float32(-0.0003833297), np.float32(-0.01673542), np.float32(-0.016759142), np.float32(0.0043251747), np.float32(0.07537692), np.float32(-0.025991358), np.float32(0.017021226), np.float32(-0.06384936), np.float32(-0.056596704), np.float32(-0.043225765), np.float32(0.0029752492), np.float32(-0.01184546), np.float32(-0.033082783), np.float32(0.028415883), np.float32(0.046149515), np.float32(0.02740962), np.float32(-0.053705882), np.float32(0.02484737), np.float32(0.015369014), np.float32(0.007011543), np.float32(0.0029012775), np.float32(-0.014337136), np.float32(0.042599868), np.float32(0.030036725), np.float32(-0.004478779), np.float32(0.0037884067), np.float32(-0.0005994855), np.float32(0.00059522036), np.float32(0.036359653), np.float32(0.025550973), np.float32(-0.013438272), np.float32(0.00986884), np.float32(-0.005285211), np.float32(0.051028498), np.float32(0.032278858), np.float32(-0.021391774), np.float32(-0.030286178), np.float32(-0.037660256), np.float32(0.0037229473), np.float32(-0.01905826), np.float32(0.016881067), np.float32(0.0016218196), np.float32(-0.0057600136), np.float32(-0.007878984), np.float32(0.006292899), np.float32(0.03851877), np.float32(0.011407133), np.float32(-0.053981416), np.float32(-0.0028119388), np.float32(0.023502052), np.float32(-0.026356244), np.float32(-0.003346602), np.float32(-0.03687829), np.float32(-0.027890185), np.float32(0.006687072), np.float32(-0.006574937), np.float32(-0.017377265), np.float32(-0.025256636), np.float32(0.016270975), np.float32(-0.008831252), np.float32(0.03172027), np.float32(0.020756971), np.float32(0.027362557), np.float32(-0.004671844), np.float32(-0.03648053), np.float32(0.015078497), np.float32(-0.040170897), np.float32(-0.016008412), np.float32(-0.016337117), np.float32(0.003980379), np.float32(-0.04690817), np.float32(0.0049769944), np.float32(0.015429738), np.float32(-0.043018878), np.float32(0.019943153), np.float32(-0.005319723), np.float32(0.032582577), np.float32(-0.024259483), np.float32(-0.032275926), np.float32(-0.00667491), np.float32(0.019259257), np.float32(-0.031823594), np.float32(0.0017474059), np.float32(0.02680447), np.float32(-0.028045503), np.float32(0.011772056), np.float32(-0.04066982), np.float32(0.0021872565), np.float32(-0.032531444), np.float32(-0.012294008), np.float32(0.054276574), np.float32(-0.052187376), np.float32(0.019988023), np.float32(-0.023319488), np.float32(0.02964612), np.float32(-0.0023560305), np.float32(0.015720291), np.float32(-0.0104022855), np.float32(-0.022949958), np.float32(-0.01593215), np.float32(-0.0049250955), np.float32(-0.041490715), np.float32(-0.016846878), np.float32(-0.024885645), np.float32(-0.07634513), np.float32(0.014540459), np.float32(-0.012286268), np.float32(0.026779661), np.float32(-0.014866905), np.float32(-0.0082951775), np.float32(0.020600576), np.float32(0.004534441), np.float32(-0.023164269), np.float32(0.02929428), np.float32(-0.0074084764), np.float32(0.01384404), np.float32(-0.0037246726), np.float32(-0.00029763216), np.float32(-0.007662972), np.float32(0.0017652712), np.float32(-0.008333086), np.float32(-0.024962312), np.float32(-0.0063342815), np.float32(0.038713966), np.float32(0.021538481), np.float32(-0.016422283), np.float32(-0.011604636), np.float32(-0.02680449), np.float32(0.007138043), np.float32(0.0017710055), np.float32(-0.0025820518), np.float32(0.0070079206), np.float32(0.011590819), np.float32(0.033740804), np.float32(-0.033842374), np.float32(-0.016372852), np.float32(0.018843679), np.float32(-0.0324382), np.float32(0.02118551), np.float32(0.034336366), np.float32(-0.005730902), np.float32(0.03118573), np.float32(0.000201738), np.float32(0.004692485), np.float32(0.022739856), np.float32(0.047343366), np.float32(0.03738835), np.float32(0.0007314506), np.float32(0.0058343313), np.float32(-0.026881384), np.float32(-0.051381826), np.float32(0.019276885), np.float32(-0.003247869), np.float32(0.0021393509), np.float32(-0.07120734), np.float32(0.047649965), np.float32(-0.0068183183), np.float32(-0.032501943), np.float32(0.044685785), np.float32(-0.0007241729), np.float32(0.027816521), np.float32(0.023097863), np.float32(0.029990153), np.float32(-0.010590258), np.float32(-0.049550295), np.float32(0.031401087), np.float32(-0.020706303), np.float32(0.026115045), np.float32(0.051416837), np.float32(0.033486336), np.float32(-0.017904077), np.float32(-0.05527471), np.float32(-0.0045636543), np.float32(-0.0796292), np.float32(0.017388392), np.float32(0.014222016), np.float32(0.020779902), np.float32(-0.0023861637), np.float32(-0.020601362), np.float32(-0.05732579), np.float32(0.008559283), np.float32(0.03151684), np.float32(0.019210562), np.float32(0.013654854), np.float32(-0.016328994), np.float32(0.018853728), np.float32(0.0096953325), np.float32(-0.026197493), np.float32(0.015442722), np.float32(-0.025699604), np.float32(-0.0074761147), np.float32(-0.12682042), np.float32(0.019686593), np.float32(0.022890097), np.float32(-0.012731754), np.float32(-0.043021273), np.float32(0.0258273), np.float32(-0.027117936), np.float32(0.031994678), np.float32(-0.02229912), np.float32(-0.049667098), np.float32(0.011179291), np.float32(0.052670985), np.float32(0.018495757), np.float32(-0.046593785), np.float32(0.032362748), np.float32(0.047076795), np.float32(-0.0012224087), np.float32(0.021934623), np.float32(0.009254844), np.float32(0.026883911), np.float32(0.014622253), np.float32(-0.024485676), np.float32(0.021676451), np.float32(0.013484775), np.float32(0.030366288), np.float32(0.021367067), np.float32(0.0053797984), np.float32(-0.008364983), np.float32(-0.0042204997), np.float32(0.07933798), np.float32(0.013955021), np.float32(-0.06425476), np.float32(0.017604861), np.float32(0.00020157902), np.float32(-0.0023718753), np.float32(-0.0032112584), np.float32(0.044189524), np.float32(-0.058851507), np.float32(-0.009380993), np.float32(0.05592072), np.float32(-0.0069039846), np.float32(0.0058981893), np.float32(-0.0141651295), np.float32(-0.012311405), np.float32(-0.031822167), np.float32(0.027278677), np.float32(-0.038998134), np.float32(-0.014320582), np.float32(-0.005560748), np.float32(0.024945607), np.float32(-0.029648058), np.float32(0.05974642), np.float32(0.019869518), np.float32(0.08434868), np.float32(-0.007198146), np.float32(0.043060906), np.float32(-0.09219471), np.float32(0.04195457), np.float32(0.028554793), np.float32(0.017580453), np.float32(-0.046745077), np.float32(-0.02423165), np.float32(-0.023695618), np.float32(-0.02298329), np.float32(-0.06191868), np.float32(0.038326226), np.float32(-0.004138157), np.float32(-0.04716374), np.float32(0.0023685102), np.float32(-0.00015495792), np.float32(7.20522e-05), np.float32(0.014805331), np.float32(0.061667196), np.float32(-0.01706038), np.float32(-0.0057079527), np.float32(0.055329055), np.float32(-0.007437352), np.float32(-0.007437941), np.float32(-0.05181526), np.float32(-0.034956016), np.float32(0.034154452), np.float32(-0.022874342), np.float32(-0.02224149), np.float32(-0.008939485), np.float32(-0.002772278), np.float32(0.05598108), np.float32(-0.004438646), np.float32(-0.0030503925), np.float32(-0.042019933), np.float32(0.008126212), np.float32(-0.045943722), np.float32(-0.015077098), np.float32(-0.0069420086), np.float32(0.0059790965), np.float32(-0.04191435), np.float32(0.02169029), np.float32(-0.050949086), np.float32(-0.048634335), np.float32(-0.026552863), np.float32(-0.056945827), np.float32(-0.03641599), np.float32(-0.017072862), np.float32(0.015327022), np.float32(-0.03917271), np.float32(-0.010286831), np.float32(0.028748358), np.float32(-0.008100031), np.float32(0.036363155), np.float32(0.034461815), np.float32(0.023931922), np.float32(-0.0019187586), np.float32(0.0031181513), np.float32(0.0060955114), np.float32(0.02418147), np.float32(-0.006112706), np.float32(0.008913516), np.float32(-0.007582825), np.float32(0.0067291604), np.float32(0.021493342), np.float32(-0.01949386), np.float32(-0.004652973), np.float32(-0.017889425), np.float32(0.048756927), np.float32(-0.018809775), np.float32(0.026091278), np.float32(0.022523452), np.float32(0.016310545), np.float32(0.053222284), np.float32(0.029549645), np.float32(-0.029555889), np.float32(0.03016951), np.float32(-0.0028339576), np.float32(0.007041497), np.float32(0.0052107847), np.float32(0.050305314), np.float32(-0.018034931), np.float32(-0.016080614), np.float32(0.0367683), np.float32(0.028161807), np.float32(0.005011126), np.float32(0.00091020484), np.float32(-0.027151419), np.float32(0.02174222), np.float32(-0.034803517), np.float32(-0.018226001), np.float32(0.026414715), np.float32(-0.010368488), np.float32(-0.033515986), np.float32(-0.029853892), np.float32(0.01804707), np.float32(0.0038914778), np.float32(-0.017773164), np.float32(-0.010320579), np.float32(0.05552138), np.float32(0.018809548), np.float32(0.018503228), np.float32(-0.05628819), np.float32(0.0019784633), np.float32(-0.011294085), np.float32(0.014782025), np.float32(0.020167343), np.float32(-0.04725425), np.float32(-0.026670152), np.float32(-0.0463947), np.float32(-0.0025270768), np.float32(0.03010597), np.float32(0.010048353), np.float32(-0.047739375), np.float32(-0.032852247), np.float32(0.031715617), np.float32(-0.0012601201), np.float32(0.061211124), np.float32(0.009445637), np.float32(-0.043503713), np.float32(-0.02015234), np.float32(0.006408595), np.float32(0.015025631), np.float32(0.027976943), np.float32(0.029271724), np.float32(-0.011061088), np.float32(0.02169671), np.float32(0.0054439195), np.float32(0.034694165), np.float32(0.028598439), np.float32(-0.0008866937), np.float32(0.063412935), np.float32(0.00501825), np.float32(-0.018064952), np.float32(0.03875353), np.float32(-0.0003792144), np.float32(-0.017271878), np.float32(-0.012210308), np.float32(-0.060161732), np.float32(-0.04225269), np.float32(-0.037612967), np.float32(-0.04131611), np.float32(-0.011084509), np.float32(0.0016426351), np.float32(-0.020224089), np.float32(0.03150344), np.float32(-0.025335167), np.float32(-0.00858023), np.float32(-0.031380888), np.float32(0.0016813504), np.float32(0.008812028), np.float32(-0.023785917), np.float32(0.010975126), np.float32(0.03740803), np.float32(-0.010609556), np.float32(0.0009725403), np.float32(-0.022330575), np.float32(-0.010853579), np.float32(0.0071087983), np.float32(0.05479279), np.float32(0.014228266), np.float32(0.007750378), np.float32(-0.013142824), np.float32(0.013793484), np.float32(-0.04472174), np.float32(0.06675141), np.float32(0.0078077046), np.float32(0.020323506), np.float32(-0.013038635), np.float32(0.025484748), np.float32(-0.017693778), np.float32(-0.018019417), np.float32(-0.027793434), np.float32(0.011955447), np.float32(-0.026263919), np.float32(-0.000595439), np.float32(-0.03973384), np.float32(0.030520681), np.float32(0.0001315833), np.float32(0.04928159), np.float32(-0.06330057), np.float32(0.013218342), np.float32(0.00344263), np.float32(-0.024213823), np.float32(0.033499874), np.float32(-0.0060867905), np.float32(0.052523263), np.float32(-0.017690102), np.float32(-0.008936284), np.float32(-0.047136717)]}\n",
      "\n",
      "3. 内容：三文鱼是冷水性溯河洄游鱼类，背部呈青灰色，肉质橙红富含Omega-3，繁殖期会从海洋洄游至淡水河流产卵。...\n",
      "   元数据：{'pk': 462127634890358862, 'source': '水生生物', 'text': '三文鱼是冷水性溯河洄游鱼类，背部呈青灰色，肉质橙红富含Omega-3，繁殖期会从海洋洄游至淡水河流产卵。', 'type': '食用鱼类', 'vector': [np.float32(-0.061386522), np.float32(-0.025285747), np.float32(-0.055345066), np.float32(-0.01164715), np.float32(-0.0030742788), np.float32(0.03898642), np.float32(-0.018256808), np.float32(0.016231801), np.float32(-0.025664017), np.float32(0.00795979), np.float32(-0.0011244752), np.float32(0.042638816), np.float32(-0.030922726), np.float32(-0.019051118), np.float32(-0.010183996), np.float32(-0.0074097696), np.float32(-0.012728419), np.float32(-0.019215018), np.float32(0.024252528), np.float32(-0.031627785), np.float32(-0.015149442), np.float32(-0.024638703), np.float32(-0.030011227), np.float32(-0.020527584), np.float32(0.017778752), np.float32(0.059461232), np.float32(0.051310174), np.float32(-0.020713506), np.float32(0.006548702), np.float32(0.000734336), np.float32(0.0036794709), np.float32(-0.041474383), np.float32(-0.029104829), np.float32(-0.015308576), np.float32(0.015786259), np.float32(-0.009271299), np.float32(0.021250557), np.float32(0.01301796), np.float32(-0.034719564), np.float32(-0.006918049), np.float32(0.024758257), np.float32(-0.012451723), np.float32(-0.016988387), np.float32(0.030434653), np.float32(-0.023075122), np.float32(-0.050252873), np.float32(0.0007910452), np.float32(-0.0028976614), np.float32(0.007301302), np.float32(-0.041215923), np.float32(0.0019044162), np.float32(5.76923e-05), np.float32(0.0658053), np.float32(0.035873644), np.float32(0.032662064), np.float32(0.037017267), np.float32(0.062381648), np.float32(0.030247653), np.float32(-0.0065356167), np.float32(0.001511765), np.float32(0.0064979307), np.float32(-0.005049205), np.float32(-0.005947772), np.float32(-0.009469146), np.float32(-0.039911874), np.float32(0.07541028), np.float32(-0.012891502), np.float32(-0.004112156), np.float32(-0.02496079), np.float32(0.0004009752), np.float32(0.03413311), np.float32(0.008707398), np.float32(-0.031538766), np.float32(-0.048357576), np.float32(-0.027572664), np.float32(0.03174414), np.float32(0.014025133), np.float32(-0.03175021), np.float32(-0.00016393143), np.float32(0.027855368), np.float32(-0.004364985), np.float32(0.042961013), np.float32(-0.033926424), np.float32(0.005768412), np.float32(0.023567135), np.float32(-0.021143373), np.float32(0.008767399), np.float32(-0.08468871), np.float32(-0.008154055), np.float32(-0.042421866), np.float32(-0.009210537), np.float32(0.029858874), np.float32(0.020258728), np.float32(-0.022113875), np.float32(-0.06399291), np.float32(0.0041562044), np.float32(-0.0415974), np.float32(-0.04986442), np.float32(-0.0005364523), np.float32(0.009746657), np.float32(0.0004639242), np.float32(-0.002332416), np.float32(-0.041238658), np.float32(-0.020623676), np.float32(0.020469517), np.float32(0.004307613), np.float32(0.031164363), np.float32(-0.008270327), np.float32(-0.012811578), np.float32(0.0033665986), np.float32(0.03307937), np.float32(0.01889087), np.float32(-0.003480929), np.float32(-0.0040499056), np.float32(-0.042958915), np.float32(0.029439583), np.float32(-0.052640654), np.float32(0.007268358), np.float32(0.008715382), np.float32(0.0067827464), np.float32(-0.031410713), np.float32(0.06341723), np.float32(0.027661258), np.float32(-0.013560025), np.float32(-0.02944828), np.float32(0.022820044), np.float32(-0.00701303), np.float32(0.08365), np.float32(-0.007643493), np.float32(0.007588841), np.float32(0.010393125), np.float32(0.0040666005), np.float32(-0.052754924), np.float32(0.01506114), np.float32(0.0030665782), np.float32(-0.06515021), np.float32(0.0590417), np.float32(-0.037252743), np.float32(-0.008846761), np.float32(-0.031514682), np.float32(0.018998012), np.float32(0.05725733), np.float32(-0.012542956), np.float32(-0.026029604), np.float32(0.01241417), np.float32(-0.01693873), np.float32(-0.020607902), np.float32(-0.015286684), np.float32(0.043418486), np.float32(-0.0006989454), np.float32(0.039678738), np.float32(0.0012106323), np.float32(0.034285385), np.float32(0.024316153), np.float32(0.013441759), np.float32(-0.030165985), np.float32(-0.018217897), np.float32(0.018797431), np.float32(0.0034500083), np.float32(0.005228177), np.float32(-0.010605932), np.float32(-0.033253986), np.float32(-0.017459862), np.float32(-0.034450673), np.float32(0.002658384), np.float32(0.049372572), np.float32(0.026122445), np.float32(0.028825887), np.float32(0.00846096), np.float32(0.00804336), np.float32(0.024145186), np.float32(0.026626889), np.float32(-0.027889267), np.float32(0.005363513), np.float32(-0.028203791), np.float32(0.016831152), np.float32(0.048855845), np.float32(0.012262473), np.float32(0.038099784), np.float32(-0.026385564), np.float32(-0.067878276), np.float32(0.01985564), np.float32(-0.012927019), np.float32(0.0021430461), np.float32(0.017764904), np.float32(-0.026834037), np.float32(-0.02351131), np.float32(-0.014267365), np.float32(-0.0025668277), np.float32(0.028127354), np.float32(-0.032106187), np.float32(-0.025844367), np.float32(0.024831729), np.float32(-0.008425578), np.float32(-0.0016278271), np.float32(-0.031539623), np.float32(-0.023540236), np.float32(-0.023320898), np.float32(-0.002405205), np.float32(0.024456097), np.float32(-0.03990374), np.float32(0.018828483), np.float32(-0.0054083923), np.float32(0.020644385), np.float32(0.009755978), np.float32(0.012096014), np.float32(-0.050974987), np.float32(-0.000378718), np.float32(0.022576438), np.float32(-0.0695703), np.float32(0.02061655), np.float32(0.01320205), np.float32(0.0059642945), np.float32(-0.03195773), np.float32(-0.043163233), np.float32(-0.031569596), np.float32(-0.011789257), np.float32(-0.034490258), np.float32(-0.012287966), np.float32(0.021180777), np.float32(-0.012929061), np.float32(-0.036868777), np.float32(0.029578913), np.float32(-0.03198864), np.float32(-0.017741004), np.float32(-0.020391854), np.float32(0.0032945417), np.float32(-0.0060749934), np.float32(-0.008274375), np.float32(-0.06707918), np.float32(-0.023105681), np.float32(0.015026437), np.float32(0.0013985207), np.float32(0.014202701), np.float32(-0.0038709098), np.float32(0.0047586323), np.float32(-0.02802137), np.float32(0.026564071), np.float32(-0.022505648), np.float32(0.013874103), np.float32(0.043825652), np.float32(-0.00038074923), np.float32(-0.01026312), np.float32(-0.014901614), np.float32(0.02599331), np.float32(-0.009994196), np.float32(-0.027652068), np.float32(0.05182258), np.float32(-0.0065653017), np.float32(0.0065215887), np.float32(-0.010144355), np.float32(-0.0160245), np.float32(-0.062065125), np.float32(0.06738753), np.float32(0.030255025), np.float32(0.024953758), np.float32(0.00414199), np.float32(0.011654862), np.float32(0.007072331), np.float32(-0.043354318), np.float32(0.008640955), np.float32(0.022058506), np.float32(0.01820948), np.float32(0.004301969), np.float32(0.062375385), np.float32(-0.022243973), np.float32(-0.0062171845), np.float32(0.020363113), np.float32(0.0213075), np.float32(0.038055), np.float32(-0.007346466), np.float32(0.010409704), np.float32(0.042684752), np.float32(0.038864266), np.float32(-0.015541859), np.float32(-0.002555209), np.float32(-0.002896541), np.float32(0.053614076), np.float32(0.022473847), np.float32(0.028678464), np.float32(-0.018356245), np.float32(0.034294248), np.float32(-0.0075252512), np.float32(0.02351439), np.float32(0.0007310282), np.float32(-0.032920558), np.float32(-0.028209405), np.float32(0.007315032), np.float32(0.0032060472), np.float32(0.0122647965), np.float32(0.021859054), np.float32(0.0027855104), np.float32(0.018444268), np.float32(-0.014138057), np.float32(-0.010733662), np.float32(0.012732565), np.float32(-0.0070426282), np.float32(-0.14914571), np.float32(-0.012666621), np.float32(0.00971375), np.float32(-0.019053072), np.float32(0.015747009), np.float32(-0.0020737138), np.float32(-0.00010518262), np.float32(-0.010979217), np.float32(-0.042040423), np.float32(-0.050261285), np.float32(-0.0026994857), np.float32(-0.03519176), np.float32(0.029211635), np.float32(-0.0011851587), np.float32(0.005961429), np.float32(-0.03764293), np.float32(0.022757797), np.float32(0.019768607), np.float32(-0.02387107), np.float32(-0.017011229), np.float32(-0.046872094), np.float32(-0.05882043), np.float32(0.029734068), np.float32(-0.012908337), np.float32(-0.019359976), np.float32(-0.03638973), np.float32(-0.0070032272), np.float32(-0.078168035), np.float32(-0.051809173), np.float32(-0.050811995), np.float32(0.018753935), np.float32(0.00012733375), np.float32(0.0012589098), np.float32(-0.020622509), np.float32(0.05391225), np.float32(0.03619108), np.float32(-0.039348587), np.float32(-0.009430566), np.float32(0.05699165), np.float32(-0.012955426), np.float32(0.019970471), np.float32(-0.009913643), np.float32(-0.005559773), np.float32(0.04292539), np.float32(-0.016329948), np.float32(-0.025447566), np.float32(-0.004868656), np.float32(0.07118826), np.float32(-0.008650188), np.float32(-0.0026803971), np.float32(0.028508142), np.float32(0.046773322), np.float32(-0.011910784), np.float32(0.018097369), np.float32(-0.056750912), np.float32(-0.017870149), np.float32(0.02637991), np.float32(0.07988557), np.float32(0.017324021), np.float32(0.05297428), np.float32(-0.013121822), np.float32(-0.031215983), np.float32(0.04023403), np.float32(0.0063765314), np.float32(-0.06786567), np.float32(-0.028585289), np.float32(0.021111883), np.float32(0.055788085), np.float32(-0.023840241), np.float32(-0.010714018), np.float32(-0.007705279), np.float32(0.014005748), np.float32(-0.008216676), np.float32(0.0004511165), np.float32(0.009863378), np.float32(0.025114894), np.float32(-0.039587528), np.float32(-0.016120475), np.float32(0.016173372), np.float32(-0.09405383), np.float32(-0.011403687), np.float32(-0.008016228), np.float32(-0.03289186), np.float32(-0.08350878), np.float32(0.0047303033), np.float32(-0.05918405), np.float32(0.009296518), np.float32(-0.021783112), np.float32(0.00037918202), np.float32(0.2457524), np.float32(0.00065085787), np.float32(-0.023838488), np.float32(-0.010962542), np.float32(-0.03051627), np.float32(-0.029656667), np.float32(-0.01698809), np.float32(0.010787291), np.float32(-0.011597619), np.float32(-0.007856945), np.float32(0.0020092381), np.float32(-0.046315756), np.float32(0.030839218), np.float32(-0.0043949825), np.float32(-0.06984721), np.float32(0.036871128), np.float32(0.014984268), np.float32(0.012009074), np.float32(0.0084248725), np.float32(0.04290507), np.float32(0.00088177546), np.float32(-0.003462771), np.float32(-0.011052339), np.float32(0.02272573), np.float32(-0.037709627), np.float32(-0.016371416), np.float32(-0.020736208), np.float32(0.02251068), np.float32(0.005282395), np.float32(0.040683206), np.float32(-0.024093332), np.float32(-0.014039548), np.float32(-0.015564652), np.float32(0.0579296), np.float32(-0.015253358), np.float32(-0.026289605), np.float32(0.029000178), np.float32(-0.0067003747), np.float32(-0.0120036565), np.float32(0.020029139), np.float32(-0.04932568), np.float32(-0.0136995055), np.float32(0.050798897), np.float32(-0.007490679), np.float32(0.025313174), np.float32(-0.017950125), np.float32(0.013344457), np.float32(-0.057524987), np.float32(-0.028999047), np.float32(0.016490525), np.float32(-0.03812815), np.float32(-0.035941973), np.float32(0.0074711908), np.float32(0.02275087), np.float32(0.009629791), np.float32(-0.074250795), np.float32(0.00576467), np.float32(-0.0005033341), np.float32(-0.02411973), np.float32(-0.0043805875), np.float32(-0.014494326), np.float32(0.010478564), np.float32(-0.03494339), np.float32(-0.0065195058), np.float32(-0.031584427), np.float32(-0.011406588), np.float32(-0.010212879), np.float32(-0.041914884), np.float32(0.04128692), np.float32(0.034931246), np.float32(0.018807463), np.float32(-0.04786911), np.float32(-0.020909108), np.float32(-0.017128645), np.float32(-0.0013214566), np.float32(0.0508218), np.float32(-0.010261303), np.float32(0.016552066), np.float32(-0.06415897), np.float32(0.019532014), np.float32(-0.035499353), np.float32(0.008515818), np.float32(-0.04936469), np.float32(-0.052027192), np.float32(0.038707547), np.float32(-0.0026146304), np.float32(0.023298148), np.float32(0.026524244), np.float32(0.06375962), np.float32(-0.03641111), np.float32(-0.043176536), np.float32(0.03648815), np.float32(-0.0075506936), np.float32(0.007970345), np.float32(0.04247175), np.float32(-0.0072082165), np.float32(-0.046295986), np.float32(-0.027403677), np.float32(-0.024643114), np.float32(-0.002044941), np.float32(-0.06214459), np.float32(-0.026608255), np.float32(0.010330966), np.float32(-0.025216553), np.float32(0.048950486), np.float32(-0.01286043), np.float32(-0.032331984), np.float32(0.032864146), np.float32(-0.04566937), np.float32(-0.011845105), np.float32(-0.019709792), np.float32(0.0015707981), np.float32(0.0029955783), np.float32(0.009668296), np.float32(0.02852838), np.float32(0.037350185), np.float32(-0.019383801), np.float32(0.054672465), np.float32(0.0044887527), np.float32(0.017849527), np.float32(-0.0009491162), np.float32(-0.038559668), np.float32(0.058769304), np.float32(0.0021606844), np.float32(-0.021486603), np.float32(-0.022696538), np.float32(0.029947897), np.float32(0.02494338), np.float32(-0.013700212), np.float32(0.04794845), np.float32(-0.023747705), np.float32(-0.0064285183), np.float32(-0.03392619), np.float32(-0.0071983677), np.float32(0.057224542), np.float32(0.012727374), np.float32(0.010767995), np.float32(6.16183e-05), np.float32(-0.0014929852), np.float32(0.011927318), np.float32(0.002454402), np.float32(0.08650155), np.float32(0.0032208797), np.float32(-0.011420577), np.float32(-0.020076834), np.float32(-0.0061101313), np.float32(0.024966927), np.float32(0.021902587), np.float32(-0.00811284), np.float32(-0.022487711), np.float32(-0.012018848), np.float32(0.06385335), np.float32(0.028349128), np.float32(0.019660791), np.float32(0.0027905726), np.float32(-0.017939907), np.float32(-0.024973314), np.float32(-0.029890371), np.float32(-0.023173), np.float32(0.016539121), np.float32(-0.027206678), np.float32(-0.011006619), np.float32(-0.00803988), np.float32(0.05909289), np.float32(-0.012081122), np.float32(0.00043087083), np.float32(-0.0042120754), np.float32(0.02577386), np.float32(0.007910734), np.float32(-0.016012233), np.float32(0.029534306), np.float32(-0.043008633), np.float32(-0.02751208), np.float32(0.045861535), np.float32(-0.01064832), np.float32(0.018910386), np.float32(-0.08731284), np.float32(-0.040209875), np.float32(0.018125122), np.float32(0.004322732), np.float32(0.009651095), np.float32(0.029411089), np.float32(0.07404074), np.float32(0.054786507), np.float32(0.019578878), np.float32(0.023637373), np.float32(-0.030709054), np.float32(-0.034744874), np.float32(0.017391112), np.float32(-0.012190888), np.float32(0.054980494), np.float32(0.10524275), np.float32(-0.021980876), np.float32(0.0013575315), np.float32(-0.026921785), np.float32(0.014890815), np.float32(0.0058873803), np.float32(0.0651807), np.float32(0.004268669), np.float32(-0.050573774), np.float32(-0.030180084), np.float32(-0.057026546), np.float32(0.022264495), np.float32(0.016361544), np.float32(-0.012437221), np.float32(-0.015150546), np.float32(-0.06284061), np.float32(0.051734976), np.float32(-0.007946631), np.float32(0.008160122), np.float32(0.019576011), np.float32(-0.025780562), np.float32(0.009877011), np.float32(0.007284207), np.float32(-0.00081134256), np.float32(-0.045663264), np.float32(-0.05735302), np.float32(0.010119186), np.float32(-0.0013174175), np.float32(-0.033974417), np.float32(0.024917647), np.float32(0.023477495), np.float32(-0.0045194584), np.float32(-0.034879643), np.float32(-0.030297607), np.float32(0.0010540001), np.float32(-0.021985624), np.float32(-0.002495258), np.float32(-0.0082894545), np.float32(0.045671754), np.float32(0.0038612215), np.float32(0.031382464), np.float32(-0.046131033), np.float32(0.040279474), np.float32(0.014820216), np.float32(0.008724736), np.float32(-0.01584248), np.float32(0.031072957), np.float32(-0.039332245), np.float32(-0.032094542), np.float32(0.004121084), np.float32(0.029214852), np.float32(-0.023137642), np.float32(0.019046448), np.float32(-0.0048104157), np.float32(0.042080656), np.float32(0.010696127), np.float32(0.01598662), np.float32(0.027963331), np.float32(0.024661329), np.float32(0.0004626905), np.float32(0.06399918), np.float32(0.044963803), np.float32(0.03758462), np.float32(0.048842717), np.float32(0.049992163), np.float32(0.011318372), np.float32(0.003582337), np.float32(0.004358726), np.float32(-0.0101432195), np.float32(-0.008251097), np.float32(0.059763756), np.float32(0.03226119), np.float32(0.024808602), np.float32(0.0056642406), np.float32(-0.033468585), np.float32(0.037464235), np.float32(0.00461018), np.float32(-0.0042529656), np.float32(0.0047024773), np.float32(-0.045386076), np.float32(0.010997104), np.float32(0.013143141), np.float32(0.012488295), np.float32(0.08449963), np.float32(-0.018207897), np.float32(-0.019435111), np.float32(0.0083675515), np.float32(0.015625706), np.float32(-0.008000103), np.float32(-0.009485676), np.float32(-0.013982791), np.float32(0.011061096), np.float32(-0.05855212), np.float32(-0.017105615), np.float32(-0.030412994), np.float32(0.012165982), np.float32(0.0148824), np.float32(-0.0053290413), np.float32(-0.024378788), np.float32(0.022319565), np.float32(-0.046710227), np.float32(-0.021101162), np.float32(0.0002567136), np.float32(-0.013707178), np.float32(0.025944997), np.float32(-0.0050081164), np.float32(0.025549114), np.float32(-0.04182102), np.float32(0.009635992), np.float32(-0.02460449), np.float32(0.022906955), np.float32(0.0027944122), np.float32(0.009531232), np.float32(0.004948922), np.float32(-0.018566677), np.float32(0.0016425512), np.float32(-0.022128668), np.float32(-0.0028302795), np.float32(0.06257508), np.float32(0.011226037), np.float32(-0.043837164), np.float32(0.0068770507), np.float32(0.03816279), np.float32(-0.009489607), np.float32(-0.008664514), np.float32(0.028069692), np.float32(-0.019075587), np.float32(0.008468141), np.float32(0.0038383456), np.float32(-0.011171263), np.float32(-0.01589621), np.float32(-0.00026500763), np.float32(-0.0076099704), np.float32(-0.04750458), np.float32(-0.006334484), np.float32(-0.0034830568), np.float32(0.018181132), np.float32(-0.0650461), np.float32(-0.015583591), np.float32(-0.039572805), np.float32(-0.020726716), np.float32(-0.024564592), np.float32(-0.06356803), np.float32(0.03391912), np.float32(0.011424912), np.float32(-0.009862025), np.float32(-0.009734626), np.float32(-0.019677512), np.float32(-0.011239531), np.float32(-0.006978432), np.float32(0.042826463), np.float32(0.06261825), np.float32(0.020162797), np.float32(0.026783535), np.float32(-0.011240143), np.float32(-0.035315167), np.float32(0.02640707), np.float32(0.01764178), np.float32(-0.00625961), np.float32(-0.0014101786), np.float32(0.03712496), np.float32(-0.023195624), np.float32(-0.05168052), np.float32(0.011505993), np.float32(0.007969716), np.float32(-0.023073174), np.float32(0.005296649), np.float32(0.07800733), np.float32(0.008002593), np.float32(-0.011337017), np.float32(0.00673739), np.float32(-0.07591422), np.float32(0.013716317), np.float32(0.013502831), np.float32(0.04317382), np.float32(0.011894217), np.float32(-0.03972423), np.float32(-0.06032309), np.float32(-0.03570995), np.float32(0.027295537), np.float32(0.035616674), np.float32(-0.018944949), np.float32(0.029011782), np.float32(0.0050773146), np.float32(0.0054908264), np.float32(-0.07069457), np.float32(-0.0027380257), np.float32(0.056456253), np.float32(0.019973569), np.float32(-0.013193159), np.float32(-0.008607157), np.float32(-0.02770283), np.float32(-0.01375689), np.float32(0.022704698), np.float32(-0.0031503967), np.float32(0.03137752), np.float32(-0.010301131), np.float32(0.016176933), np.float32(-0.027892623), np.float32(0.013608314), np.float32(0.0023392963), np.float32(-0.014490876), np.float32(0.0030725873), np.float32(-0.11809088), np.float32(0.011195797), np.float32(0.009121428), np.float32(0.0384258), np.float32(-0.040777475), np.float32(-0.023536935), np.float32(0.011204408), np.float32(-0.047817044), np.float32(-0.013946704), np.float32(-0.020396294), np.float32(-0.038695876), np.float32(-0.019779842), np.float32(0.0107072815), np.float32(-0.029645322), np.float32(0.05273254), np.float32(0.016736766), np.float32(0.0011676897), np.float32(-0.008155112), np.float32(0.03172921), np.float32(0.045675214), np.float32(-0.021585945), np.float32(0.0008903081), np.float32(0.013117007), np.float32(0.03297253), np.float32(-0.010268966), np.float32(0.033094037), np.float32(-0.0022193373), np.float32(0.018275833), np.float32(-0.030831026), np.float32(0.0012169228), np.float32(0.057882164), np.float32(-0.046432603), np.float32(-0.010109671), np.float32(0.031269323), np.float32(-0.024954978), np.float32(0.028675292), np.float32(0.015638322), np.float32(-0.05320672), np.float32(-0.025533196), np.float32(0.01703889), np.float32(0.011159495), np.float32(0.040684097), np.float32(0.021340478), np.float32(-0.032241415), np.float32(-0.015270849), np.float32(0.027806848), np.float32(-0.035832163), np.float32(-0.0061661373), np.float32(0.026614346), np.float32(0.0030930236), np.float32(0.033055123), np.float32(0.008934247), np.float32(0.052938446), np.float32(0.048474107), np.float32(-0.014087459), np.float32(0.013755867), np.float32(-0.06861404), np.float32(-0.007235275), np.float32(0.028645426), np.float32(0.00208424), np.float32(-0.028585834), np.float32(-0.038529914), np.float32(0.0010230301), np.float32(-0.051460978), np.float32(-0.017281221), np.float32(0.0032893638), np.float32(-0.015828187), np.float32(0.01471865), np.float32(-0.030999318), np.float32(0.02389898), np.float32(0.0011097757), np.float32(-0.045084327), np.float32(0.069015525), np.float32(-0.053600613), np.float32(-0.02434155), np.float32(0.041439388), np.float32(-0.03815128), np.float32(-0.05476262), np.float32(0.0007247974), np.float32(-0.046880927), np.float32(-0.006379051), np.float32(-0.042481482), np.float32(-0.02284378), np.float32(0.0479687), np.float32(-0.0026124716), np.float32(0.036523648), np.float32(-0.012314608), np.float32(0.013125569), np.float32(-0.042801388), np.float32(-0.014399495), np.float32(-0.044947684), np.float32(-0.017183322), np.float32(-0.0016845837), np.float32(-0.047991242), np.float32(-0.02687051), np.float32(0.0135704735), np.float32(-0.06109976), np.float32(-0.015574869), np.float32(-0.022205334), np.float32(-0.030055864), np.float32(-0.00025490733), np.float32(-0.012335911), np.float32(0.0018667841), np.float32(-0.0044586533), np.float32(-0.024030266), np.float32(0.04434075), np.float32(0.0046249037), np.float32(0.02873802), np.float32(0.0058135074), np.float32(0.071461864), np.float32(0.011491687), np.float32(-0.005938057), np.float32(-0.026130252), np.float32(-8.124719e-05), np.float32(0.0033806658), np.float32(0.012313043), np.float32(0.018153962), np.float32(0.04596849), np.float32(-0.025041018), np.float32(0.051155515), np.float32(0.025204618), np.float32(-0.051562846), np.float32(-0.037379105), np.float32(-0.0123509625), np.float32(-0.017844344), np.float32(-0.05538088), np.float32(0.00065721414), np.float32(0.018499063), np.float32(0.034405038), np.float32(-0.029662943), np.float32(-0.0023322839), np.float32(-0.05404187), np.float32(-0.016474549), np.float32(0.021835348), np.float32(0.01840863), np.float32(-0.016396727), np.float32(-0.0006851506), np.float32(-0.009191436), np.float32(0.0016458904), np.float32(-0.0039333804), np.float32(-0.0013492564), np.float32(0.0072419103), np.float32(0.04215161), np.float32(-0.021771137), np.float32(-0.022769973), np.float32(-0.021836972), np.float32(0.030208725), np.float32(-0.048974466), np.float32(-0.0052726297), np.float32(0.03687904), np.float32(-0.01108835), np.float32(0.02932874), np.float32(0.015716683), np.float32(0.052637637), np.float32(0.009241442), np.float32(0.002870523), np.float32(-0.03475464), np.float32(0.020119607), np.float32(0.015047137), np.float32(0.041164156), np.float32(0.00048826745), np.float32(-0.08561432), np.float32(0.021543326), np.float32(-0.0075108674), np.float32(-0.020801716), np.float32(-0.018144764), np.float32(-0.007906706), np.float32(0.017788934), np.float32(0.00084100687), np.float32(-0.0047367276), np.float32(-0.013649091), np.float32(0.0042718765), np.float32(-0.02080041), np.float32(-0.0052409256), np.float32(-0.0016064069), np.float32(0.0065437006), np.float32(0.0059911218), np.float32(-0.011244093), np.float32(0.05679478), np.float32(0.017622015), np.float32(0.02243905), np.float32(0.021422045), np.float32(-0.027894963), np.float32(0.005917231), np.float32(0.008082441), np.float32(0.051671915), np.float32(-0.003060952), np.float32(0.009241424), np.float32(0.006704019), np.float32(0.01603783), np.float32(0.004036582), np.float32(-0.0058245063), np.float32(-0.03306163), np.float32(0.006919159), np.float32(0.0211002), np.float32(0.039411504), np.float32(0.032459658), np.float32(0.018551778), np.float32(-0.06501278), np.float32(0.029996984), np.float32(-0.011693466), np.float32(-0.018261794), np.float32(-0.0103276735), np.float32(0.016530642), np.float32(-0.022733295), np.float32(-0.037151355), np.float32(-0.0017990588), np.float32(-0.010383391), np.float32(-0.012739245), np.float32(0.0042278073), np.float32(0.025865944), np.float32(-0.0039468654), np.float32(0.018301107), np.float32(0.033087507), np.float32(0.009034523), np.float32(0.006959724), np.float32(0.024776964), np.float32(-0.053349517), np.float32(0.026900304), np.float32(0.008391149), np.float32(-0.0019290508), np.float32(0.06455025), np.float32(-0.04678883), np.float32(0.04155043), np.float32(0.03113212), np.float32(-0.012223743), np.float32(-0.029961994), np.float32(0.017453833), np.float32(0.0043533514), np.float32(0.015514644), np.float32(-0.053951774), np.float32(0.0564421), np.float32(0.006007901), np.float32(0.023887387), np.float32(-0.00049007934), np.float32(0.0033479407), np.float32(0.030039439), np.float32(0.029141426), np.float32(0.037727583), np.float32(0.025269156), np.float32(0.023066392), np.float32(-0.0077303066), np.float32(0.035113685), np.float32(-0.014865028)]}\n",
      "\n",
      "4. 内容：水母是海洋中的无脊椎动物，身体呈透明伞状，边缘有触手，部分种类能发光，通过喷水推进移动。...\n",
      "   元数据：{'pk': 462127634890358863, 'source': '水生生物', 'text': '水母是海洋中的无脊椎动物，身体呈透明伞状，边缘有触手，部分种类能发光，通过喷水推进移动。', 'type': '无脊椎动物', 'vector': [np.float32(-0.062062178), np.float32(0.01651275), np.float32(-0.043581367), np.float32(0.015766298), np.float32(-0.015704626), np.float32(-0.0013659938), np.float32(0.0047504753), np.float32(0.027540334), np.float32(0.00082714215), np.float32(0.02515734), np.float32(-0.00076749956), np.float32(0.01908013), np.float32(-0.0075962), np.float32(-0.037182868), np.float32(-0.008507813), np.float32(0.029936356), np.float32(0.042859823), np.float32(0.0019429817), np.float32(0.012816174), np.float32(-0.01330979), np.float32(0.019863706), np.float32(0.00087709964), np.float32(0.029983213), np.float32(0.00068201317), np.float32(0.010834925), np.float32(0.011042616), np.float32(-0.022587232), np.float32(-0.025271293), np.float32(0.0074832193), np.float32(-0.031120298), np.float32(0.020191392), np.float32(0.006440128), np.float32(-0.045423254), np.float32(0.014481422), np.float32(-0.020193085), np.float32(-0.042214464), np.float32(-0.025046907), np.float32(-0.024918204), np.float32(-0.00589817), np.float32(0.044961713), np.float32(-0.024591347), np.float32(-0.03590501), np.float32(0.007625176), np.float32(0.007053912), np.float32(-0.011210653), np.float32(-0.026569955), np.float32(-0.028849257), np.float32(-0.006023983), np.float32(-0.06811336), np.float32(-0.04877395), np.float32(-0.015869157), np.float32(-0.00885458), np.float32(0.051262178), np.float32(-0.0092604095), np.float32(0.012980885), np.float32(-0.0086176675), np.float32(-0.018623812), np.float32(-0.010984616), np.float32(-0.0150074195), np.float32(0.00025123998), np.float32(-0.014103022), np.float32(0.059422076), np.float32(-0.03770347), np.float32(-0.027418407), np.float32(0.020679675), np.float32(0.08665449), np.float32(-0.0067183156), np.float32(-0.006278083), np.float32(-0.009070463), np.float32(0.0026028296), np.float32(0.024897007), np.float32(0.014153821), np.float32(-0.012471747), np.float32(-0.032251183), np.float32(-0.022055104), np.float32(0.015294311), np.float32(-0.02932136), np.float32(-0.014117401), np.float32(-0.049104467), np.float32(0.018764384), np.float32(-0.0005163597), np.float32(0.027579093), np.float32(0.014584891), np.float32(0.030253196), np.float32(-0.045105986), np.float32(0.060759872), np.float32(0.013681497), np.float32(-0.025424322), np.float32(0.017893381), np.float32(-0.012234768), np.float32(-0.005642553), np.float32(-0.016872125), np.float32(0.05461075), np.float32(-0.05165641), np.float32(-0.036844216), np.float32(0.007790442), np.float32(0.036779117), np.float32(-0.005359959), np.float32(0.031032627), np.float32(0.010912301), np.float32(0.019163886), np.float32(-0.008137506), np.float32(-0.023510594), np.float32(-0.049580976), np.float32(-0.015435054), np.float32(-0.043296624), np.float32(0.035283506), np.float32(0.014874405), np.float32(0.00080271985), np.float32(0.0007875392), np.float32(0.045215275), np.float32(0.04359711), np.float32(0.006786113), np.float32(-0.001001431), np.float32(-0.028991146), np.float32(-0.0037312564), np.float32(-0.005975113), np.float32(-0.013101284), np.float32(-0.0041923136), np.float32(0.010623745), np.float32(-0.020931538), np.float32(0.03019404), np.float32(0.006163997), np.float32(-0.01865806), np.float32(-0.0071736765), np.float32(-0.044138093), np.float32(-0.0016868202), np.float32(0.0037106117), np.float32(0.0065796017), np.float32(0.044937756), np.float32(-0.011309967), np.float32(-0.03409026), np.float32(-0.01062068), np.float32(0.01702114), np.float32(-0.036544673), np.float32(-0.0283865), np.float32(0.013857614), np.float32(0.006429914), np.float32(0.00058716483), np.float32(-0.0054422393), np.float32(-0.0040038233), np.float32(0.0034638296), np.float32(0.0430393), np.float32(-0.032609135), np.float32(0.03347128), np.float32(-0.05392995), np.float32(0.004668973), np.float32(-0.0041424274), np.float32(0.0059443987), np.float32(0.03434733), np.float32(-0.014211099), np.float32(0.032713715), np.float32(0.062313054), np.float32(0.019869216), np.float32(-0.014463651), np.float32(0.01775812), np.float32(-0.05721498), np.float32(-0.053672325), np.float32(0.004018894), np.float32(0.024804944), np.float32(0.038357403), np.float32(-0.017519288), np.float32(-0.040564723), np.float32(0.032645576), np.float32(0.014121293), np.float32(0.008157492), np.float32(0.045706257), np.float32(0.035876922), np.float32(0.03961097), np.float32(-0.04078649), np.float32(-0.014470421), np.float32(0.009080554), np.float32(-0.05084839), np.float32(0.044390444), np.float32(-0.025113532), np.float32(0.02679046), np.float32(0.019358743), np.float32(0.008900054), np.float32(0.01096869), np.float32(-0.032957908), np.float32(-0.070145726), np.float32(-0.04387183), np.float32(-0.027285187), np.float32(-0.022020044), np.float32(0.008651347), np.float32(-0.018005429), np.float32(-0.037115578), np.float32(-0.004562269), np.float32(-0.02983588), np.float32(0.011443027), np.float32(-0.004107152), np.float32(-0.016915133), np.float32(-0.01979184), np.float32(-0.024666859), np.float32(0.050707933), np.float32(-0.04303874), np.float32(0.013140531), np.float32(0.028590597), np.float32(-0.029588418), np.float32(0.0062741684), np.float32(-0.007872032), np.float32(0.01740675), np.float32(0.027719112), np.float32(-0.02459436), np.float32(-0.024249977), np.float32(-0.01012711), np.float32(-0.067422725), np.float32(-0.015024498), np.float32(-0.026387941), np.float32(-0.027409807), np.float32(0.019946054), np.float32(0.05331569), np.float32(0.010301006), np.float32(-0.0486129), np.float32(-0.039267436), np.float32(-0.023151744), np.float32(0.0013875681), np.float32(-0.014860438), np.float32(-0.017951163), np.float32(-0.01156214), np.float32(-0.017376214), np.float32(0.021497851), np.float32(-0.009276784), np.float32(-0.020131174), np.float32(0.041920517), np.float32(0.0023987028), np.float32(0.034513425), np.float32(0.039386943), np.float32(-0.0073248176), np.float32(-0.002150686), np.float32(-0.03069331), np.float32(0.061395306), np.float32(-0.02155037), np.float32(-0.011575689), np.float32(0.0049872426), np.float32(-0.04101444), np.float32(-0.051041834), np.float32(-0.008299814), np.float32(-0.0050185313), np.float32(0.048099443), np.float32(-0.016803568), np.float32(-0.035679776), np.float32(0.006699079), np.float32(0.026021909), np.float32(-0.0075476686), np.float32(0.019990133), np.float32(0.0049661347), np.float32(-0.006414333), np.float32(0.020413177), np.float32(0.003868683), np.float32(0.015128773), np.float32(-0.0025549077), np.float32(-0.012899561), np.float32(0.04619904), np.float32(-0.001922045), np.float32(-0.0062378645), np.float32(-0.026744924), np.float32(-0.012319924), np.float32(0.029973285), np.float32(-0.030167056), np.float32(0.005666301), np.float32(-0.007858983), np.float32(0.04179897), np.float32(-0.009980518), np.float32(0.025847802), np.float32(-0.006036935), np.float32(-0.02248386), np.float32(0.02624012), np.float32(0.012858053), np.float32(0.029274352), np.float32(-0.028535664), np.float32(-0.0037978597), np.float32(0.017259642), np.float32(0.023758028), np.float32(0.01243444), np.float32(0.0316592), np.float32(-0.019070454), np.float32(0.01187956), np.float32(0.029743401), np.float32(0.04675885), np.float32(0.040136725), np.float32(-0.03523188), np.float32(-0.034478083), np.float32(0.015141924), np.float32(0.021966584), np.float32(-0.014942277), np.float32(-0.006621948), np.float32(0.01258266), np.float32(0.01697738), np.float32(-0.018832946), np.float32(0.030096935), np.float32(-0.051200133), np.float32(0.03572728), np.float32(0.01383667), np.float32(-0.033068676), np.float32(0.019165635), np.float32(-0.0358516), np.float32(-0.15857118), np.float32(0.022600606), np.float32(0.018482186), np.float32(-0.0013661615), np.float32(0.0018155028), np.float32(-0.018118735), np.float32(-0.00086521456), np.float32(-0.0049079536), np.float32(-0.038340077), np.float32(-0.035923466), np.float32(0.00967089), np.float32(-0.036881633), np.float32(-0.018498382), np.float32(0.006415876), np.float32(0.00019894718), np.float32(-0.03308037), np.float32(0.021824697), np.float32(0.0076865773), np.float32(-0.035127062), np.float32(-0.021392286), np.float32(-0.061507862), np.float32(-0.04173573), np.float32(0.08053838), np.float32(-0.016713865), np.float32(-0.02861593), np.float32(-0.023883147), np.float32(-0.047810897), np.float32(-0.018361518), np.float32(-0.033506013), np.float32(-0.055073008), np.float32(0.0011575609), np.float32(0.044267837), np.float32(-0.0038812), np.float32(0.003744029), np.float32(0.010084207), np.float32(0.020557204), np.float32(0.010542978), np.float32(0.055130664), np.float32(0.003219918), np.float32(-0.003442114), np.float32(0.042941164), np.float32(0.030848172), np.float32(0.009898491), np.float32(0.030295901), np.float32(-0.016167516), np.float32(-0.046263132), np.float32(-0.0051678736), np.float32(0.06722045), np.float32(-0.0008542241), np.float32(0.01118996), np.float32(0.06583437), np.float32(0.035209727), np.float32(0.020417912), np.float32(-0.040590927), np.float32(-0.03226729), np.float32(-0.027534377), np.float32(0.076269016), np.float32(0.015965018), np.float32(0.038289003), np.float32(0.049971484), np.float32(-0.021889504), np.float32(-0.015523279), np.float32(0.05257785), np.float32(-0.02931171), np.float32(-0.01313959), np.float32(-0.03617524), np.float32(0.026582636), np.float32(0.005713195), np.float32(0.023270583), np.float32(-0.021548789), np.float32(-0.019691734), np.float32(-0.023927482), np.float32(0.006323353), np.float32(-0.015928373), np.float32(-0.026701218), np.float32(0.042251036), np.float32(-0.019105077), np.float32(-0.021206796), np.float32(0.013738278), np.float32(-0.09044172), np.float32(0.021972954), np.float32(-0.0067782956), np.float32(0.032291237), np.float32(-0.027825372), np.float32(-0.0152737405), np.float32(-0.013422824), np.float32(0.024781508), np.float32(-0.02969252), np.float32(0.09585618), np.float32(0.2463213), np.float32(0.007556442), np.float32(-0.025616456), np.float32(0.035416167), np.float32(0.03196296), np.float32(-0.005322289), np.float32(0.010693168), np.float32(-0.0063756024), np.float32(0.01661201), np.float32(-0.017961603), np.float32(-0.012917211), np.float32(-0.062089026), np.float32(0.028262576), np.float32(0.009594498), np.float32(-0.039951853), np.float32(0.0076419), np.float32(0.013895424), np.float32(-0.01672951), np.float32(0.044224188), np.float32(-0.004414831), np.float32(0.012856887), np.float32(-0.00231681), np.float32(-0.012829752), np.float32(0.031054104), np.float32(-0.026985614), np.float32(-0.028962249), np.float32(-0.0030944436), np.float32(0.05654157), np.float32(0.004319288), np.float32(-0.021429155), np.float32(-0.02728698), np.float32(-0.031459652), np.float32(0.018523382), np.float32(0.04253558), np.float32(-0.07779237), np.float32(-0.04571823), np.float32(0.0006170363), np.float32(0.015543338), np.float32(-0.0148391025), np.float32(0.03708545), np.float32(-0.024321105), np.float32(-0.014288577), np.float32(0.040134303), np.float32(0.026379382), np.float32(0.043315), np.float32(0.0066097733), np.float32(0.058855917), np.float32(-0.048005104), np.float32(-0.0013524906), np.float32(-0.019043121), np.float32(-0.0063469773), np.float32(-0.040301446), np.float32(-0.01581833), np.float32(0.022850739), np.float32(-0.028764095), np.float32(-0.055435568), np.float32(0.019622901), np.float32(-0.02423839), np.float32(0.010018659), np.float32(-0.019418506), np.float32(0.01866832), np.float32(0.01507016), np.float32(-0.06413864), np.float32(0.00010996495), np.float32(-0.0060553104), np.float32(-0.03242454), np.float32(-0.026800014), np.float32(-0.04399819), np.float32(0.057350177), np.float32(0.017997585), np.float32(0.03325364), np.float32(-0.031360645), np.float32(-0.023534665), np.float32(0.006440334), np.float32(0.03205838), np.float32(0.040886153), np.float32(-0.05087622), np.float32(-0.0044444744), np.float32(0.031131439), np.float32(-0.0035184417), np.float32(-0.0012703105), np.float32(0.0030786314), np.float32(-0.0088290265), np.float32(0.006452678), np.float32(0.029326005), np.float32(0.018075392), np.float32(-0.008208489), np.float32(0.04782592), np.float32(0.037999827), np.float32(-0.014775445), np.float32(-0.04091849), np.float32(-0.010721671), np.float32(-0.023870818), np.float32(0.032664757), np.float32(0.0069695543), np.float32(0.004919475), np.float32(-0.059534393), np.float32(-0.005997546), np.float32(-0.02888129), np.float32(0.0005381417), np.float32(-0.020173304), np.float32(-0.0043975855), np.float32(0.015597162), np.float32(-0.010140922), np.float32(0.031904273), np.float32(-0.065223016), np.float32(0.045590863), np.float32(0.026043365), np.float32(-0.018226502), np.float32(-0.010840203), np.float32(-0.04405466), np.float32(0.00819382), np.float32(-6.3192274e-05), np.float32(0.0058463193), np.float32(0.02431859), np.float32(0.020407867), np.float32(0.012069306), np.float32(0.058546674), np.float32(-0.02959619), np.float32(0.018532054), np.float32(-0.0054922816), np.float32(-0.03311599), np.float32(-0.0019805925), np.float32(-0.044449355), np.float32(-0.047714964), np.float32(-0.0033156658), np.float32(0.056879137), np.float32(0.0349715), np.float32(0.027127195), np.float32(0.06190489), np.float32(-0.0014088253), np.float32(-0.047261238), np.float32(-0.05258845), np.float32(0.040351104), np.float32(0.035277862), np.float32(0.0038856168), np.float32(0.060832728), np.float32(0.035280824), np.float32(0.004227002), np.float32(0.027316097), np.float32(-0.025854155), np.float32(0.034095492), np.float32(-0.009745086), np.float32(-0.023289457), np.float32(-0.008908426), np.float32(-0.01625275), np.float32(-0.009841714), np.float32(0.008986688), np.float32(0.018758811), np.float32(-0.030335926), np.float32(-0.0023786647), np.float32(0.056477882), np.float32(0.047575716), np.float32(-0.043880984), np.float32(-0.00895819), np.float32(-0.014707654), np.float32(-0.005878699), np.float32(-0.0027118155), np.float32(0.005251438), np.float32(-0.034444172), np.float32(-0.014719938), np.float32(-0.030334547), np.float32(-0.016917534), np.float32(0.038955584), np.float32(0.028713133), np.float32(0.026749913), np.float32(0.0031312266), np.float32(0.026485423), np.float32(0.0066906856), np.float32(-0.011766367), np.float32(-0.01122461), np.float32(-0.06471123), np.float32(-0.056552082), np.float32(0.053564508), np.float32(0.014611407), np.float32(-0.029585673), np.float32(-0.089821234), np.float32(-0.040724907), np.float32(-0.004327897), np.float32(0.0093625), np.float32(0.036724925), np.float32(0.046263706), np.float32(0.034682944), np.float32(0.033830542), np.float32(0.036950115), np.float32(-0.014183217), np.float32(-0.0021149989), np.float32(-0.011800564), np.float32(0.025917372), np.float32(-0.004594541), np.float32(0.014569331), np.float32(0.09505468), np.float32(0.017274609), np.float32(-0.026387703), np.float32(0.07596741), np.float32(-0.020182716), np.float32(0.0020491323), np.float32(0.01089484), np.float32(-0.0042730984), np.float32(-0.048059948), np.float32(0.012314353), np.float32(-0.04377157), np.float32(0.0020628662), np.float32(-0.0003833297), np.float32(-0.01673542), np.float32(-0.016759142), np.float32(0.0043251747), np.float32(0.07537692), np.float32(-0.025991358), np.float32(0.017021226), np.float32(-0.06384936), np.float32(-0.056596704), np.float32(-0.043225765), np.float32(0.0029752492), np.float32(-0.01184546), np.float32(-0.033082783), np.float32(0.028415883), np.float32(0.046149515), np.float32(0.02740962), np.float32(-0.053705882), np.float32(0.02484737), np.float32(0.015369014), np.float32(0.007011543), np.float32(0.0029012775), np.float32(-0.014337136), np.float32(0.042599868), np.float32(0.030036725), np.float32(-0.004478779), np.float32(0.0037884067), np.float32(-0.0005994855), np.float32(0.00059522036), np.float32(0.036359653), np.float32(0.025550973), np.float32(-0.013438272), np.float32(0.00986884), np.float32(-0.005285211), np.float32(0.051028498), np.float32(0.032278858), np.float32(-0.021391774), np.float32(-0.030286178), np.float32(-0.037660256), np.float32(0.0037229473), np.float32(-0.01905826), np.float32(0.016881067), np.float32(0.0016218196), np.float32(-0.0057600136), np.float32(-0.007878984), np.float32(0.006292899), np.float32(0.03851877), np.float32(0.011407133), np.float32(-0.053981416), np.float32(-0.0028119388), np.float32(0.023502052), np.float32(-0.026356244), np.float32(-0.003346602), np.float32(-0.03687829), np.float32(-0.027890185), np.float32(0.006687072), np.float32(-0.006574937), np.float32(-0.017377265), np.float32(-0.025256636), np.float32(0.016270975), np.float32(-0.008831252), np.float32(0.03172027), np.float32(0.020756971), np.float32(0.027362557), np.float32(-0.004671844), np.float32(-0.03648053), np.float32(0.015078497), np.float32(-0.040170897), np.float32(-0.016008412), np.float32(-0.016337117), np.float32(0.003980379), np.float32(-0.04690817), np.float32(0.0049769944), np.float32(0.015429738), np.float32(-0.043018878), np.float32(0.019943153), np.float32(-0.005319723), np.float32(0.032582577), np.float32(-0.024259483), np.float32(-0.032275926), np.float32(-0.00667491), np.float32(0.019259257), np.float32(-0.031823594), np.float32(0.0017474059), np.float32(0.02680447), np.float32(-0.028045503), np.float32(0.011772056), np.float32(-0.04066982), np.float32(0.0021872565), np.float32(-0.032531444), np.float32(-0.012294008), np.float32(0.054276574), np.float32(-0.052187376), np.float32(0.019988023), np.float32(-0.023319488), np.float32(0.02964612), np.float32(-0.0023560305), np.float32(0.015720291), np.float32(-0.0104022855), np.float32(-0.022949958), np.float32(-0.01593215), np.float32(-0.0049250955), np.float32(-0.041490715), np.float32(-0.016846878), np.float32(-0.024885645), np.float32(-0.07634513), np.float32(0.014540459), np.float32(-0.012286268), np.float32(0.026779661), np.float32(-0.014866905), np.float32(-0.0082951775), np.float32(0.020600576), np.float32(0.004534441), np.float32(-0.023164269), np.float32(0.02929428), np.float32(-0.0074084764), np.float32(0.01384404), np.float32(-0.0037246726), np.float32(-0.00029763216), np.float32(-0.007662972), np.float32(0.0017652712), np.float32(-0.008333086), np.float32(-0.024962312), np.float32(-0.0063342815), np.float32(0.038713966), np.float32(0.021538481), np.float32(-0.016422283), np.float32(-0.011604636), np.float32(-0.02680449), np.float32(0.007138043), np.float32(0.0017710055), np.float32(-0.0025820518), np.float32(0.0070079206), np.float32(0.011590819), np.float32(0.033740804), np.float32(-0.033842374), np.float32(-0.016372852), np.float32(0.018843679), np.float32(-0.0324382), np.float32(0.02118551), np.float32(0.034336366), np.float32(-0.005730902), np.float32(0.03118573), np.float32(0.000201738), np.float32(0.004692485), np.float32(0.022739856), np.float32(0.047343366), np.float32(0.03738835), np.float32(0.0007314506), np.float32(0.0058343313), np.float32(-0.026881384), np.float32(-0.051381826), np.float32(0.019276885), np.float32(-0.003247869), np.float32(0.0021393509), np.float32(-0.07120734), np.float32(0.047649965), np.float32(-0.0068183183), np.float32(-0.032501943), np.float32(0.044685785), np.float32(-0.0007241729), np.float32(0.027816521), np.float32(0.023097863), np.float32(0.029990153), np.float32(-0.010590258), np.float32(-0.049550295), np.float32(0.031401087), np.float32(-0.020706303), np.float32(0.026115045), np.float32(0.051416837), np.float32(0.033486336), np.float32(-0.017904077), np.float32(-0.05527471), np.float32(-0.0045636543), np.float32(-0.0796292), np.float32(0.017388392), np.float32(0.014222016), np.float32(0.020779902), np.float32(-0.0023861637), np.float32(-0.020601362), np.float32(-0.05732579), np.float32(0.008559283), np.float32(0.03151684), np.float32(0.019210562), np.float32(0.013654854), np.float32(-0.016328994), np.float32(0.018853728), np.float32(0.0096953325), np.float32(-0.026197493), np.float32(0.015442722), np.float32(-0.025699604), np.float32(-0.0074761147), np.float32(-0.12682042), np.float32(0.019686593), np.float32(0.022890097), np.float32(-0.012731754), np.float32(-0.043021273), np.float32(0.0258273), np.float32(-0.027117936), np.float32(0.031994678), np.float32(-0.02229912), np.float32(-0.049667098), np.float32(0.011179291), np.float32(0.052670985), np.float32(0.018495757), np.float32(-0.046593785), np.float32(0.032362748), np.float32(0.047076795), np.float32(-0.0012224087), np.float32(0.021934623), np.float32(0.009254844), np.float32(0.026883911), np.float32(0.014622253), np.float32(-0.024485676), np.float32(0.021676451), np.float32(0.013484775), np.float32(0.030366288), np.float32(0.021367067), np.float32(0.0053797984), np.float32(-0.008364983), np.float32(-0.0042204997), np.float32(0.07933798), np.float32(0.013955021), np.float32(-0.06425476), np.float32(0.017604861), np.float32(0.00020157902), np.float32(-0.0023718753), np.float32(-0.0032112584), np.float32(0.044189524), np.float32(-0.058851507), np.float32(-0.009380993), np.float32(0.05592072), np.float32(-0.0069039846), np.float32(0.0058981893), np.float32(-0.0141651295), np.float32(-0.012311405), np.float32(-0.031822167), np.float32(0.027278677), np.float32(-0.038998134), np.float32(-0.014320582), np.float32(-0.005560748), np.float32(0.024945607), np.float32(-0.029648058), np.float32(0.05974642), np.float32(0.019869518), np.float32(0.08434868), np.float32(-0.007198146), np.float32(0.043060906), np.float32(-0.09219471), np.float32(0.04195457), np.float32(0.028554793), np.float32(0.017580453), np.float32(-0.046745077), np.float32(-0.02423165), np.float32(-0.023695618), np.float32(-0.02298329), np.float32(-0.06191868), np.float32(0.038326226), np.float32(-0.004138157), np.float32(-0.04716374), np.float32(0.0023685102), np.float32(-0.00015495792), np.float32(7.20522e-05), np.float32(0.014805331), np.float32(0.061667196), np.float32(-0.01706038), np.float32(-0.0057079527), np.float32(0.055329055), np.float32(-0.007437352), np.float32(-0.007437941), np.float32(-0.05181526), np.float32(-0.034956016), np.float32(0.034154452), np.float32(-0.022874342), np.float32(-0.02224149), np.float32(-0.008939485), np.float32(-0.002772278), np.float32(0.05598108), np.float32(-0.004438646), np.float32(-0.0030503925), np.float32(-0.042019933), np.float32(0.008126212), np.float32(-0.045943722), np.float32(-0.015077098), np.float32(-0.0069420086), np.float32(0.0059790965), np.float32(-0.04191435), np.float32(0.02169029), np.float32(-0.050949086), np.float32(-0.048634335), np.float32(-0.026552863), np.float32(-0.056945827), np.float32(-0.03641599), np.float32(-0.017072862), np.float32(0.015327022), np.float32(-0.03917271), np.float32(-0.010286831), np.float32(0.028748358), np.float32(-0.008100031), np.float32(0.036363155), np.float32(0.034461815), np.float32(0.023931922), np.float32(-0.0019187586), np.float32(0.0031181513), np.float32(0.0060955114), np.float32(0.02418147), np.float32(-0.006112706), np.float32(0.008913516), np.float32(-0.007582825), np.float32(0.0067291604), np.float32(0.021493342), np.float32(-0.01949386), np.float32(-0.004652973), np.float32(-0.017889425), np.float32(0.048756927), np.float32(-0.018809775), np.float32(0.026091278), np.float32(0.022523452), np.float32(0.016310545), np.float32(0.053222284), np.float32(0.029549645), np.float32(-0.029555889), np.float32(0.03016951), np.float32(-0.0028339576), np.float32(0.007041497), np.float32(0.0052107847), np.float32(0.050305314), np.float32(-0.018034931), np.float32(-0.016080614), np.float32(0.0367683), np.float32(0.028161807), np.float32(0.005011126), np.float32(0.00091020484), np.float32(-0.027151419), np.float32(0.02174222), np.float32(-0.034803517), np.float32(-0.018226001), np.float32(0.026414715), np.float32(-0.010368488), np.float32(-0.033515986), np.float32(-0.029853892), np.float32(0.01804707), np.float32(0.0038914778), np.float32(-0.017773164), np.float32(-0.010320579), np.float32(0.05552138), np.float32(0.018809548), np.float32(0.018503228), np.float32(-0.05628819), np.float32(0.0019784633), np.float32(-0.011294085), np.float32(0.014782025), np.float32(0.020167343), np.float32(-0.04725425), np.float32(-0.026670152), np.float32(-0.0463947), np.float32(-0.0025270768), np.float32(0.03010597), np.float32(0.010048353), np.float32(-0.047739375), np.float32(-0.032852247), np.float32(0.031715617), np.float32(-0.0012601201), np.float32(0.061211124), np.float32(0.009445637), np.float32(-0.043503713), np.float32(-0.02015234), np.float32(0.006408595), np.float32(0.015025631), np.float32(0.027976943), np.float32(0.029271724), np.float32(-0.011061088), np.float32(0.02169671), np.float32(0.0054439195), np.float32(0.034694165), np.float32(0.028598439), np.float32(-0.0008866937), np.float32(0.063412935), np.float32(0.00501825), np.float32(-0.018064952), np.float32(0.03875353), np.float32(-0.0003792144), np.float32(-0.017271878), np.float32(-0.012210308), np.float32(-0.060161732), np.float32(-0.04225269), np.float32(-0.037612967), np.float32(-0.04131611), np.float32(-0.011084509), np.float32(0.0016426351), np.float32(-0.020224089), np.float32(0.03150344), np.float32(-0.025335167), np.float32(-0.00858023), np.float32(-0.031380888), np.float32(0.0016813504), np.float32(0.008812028), np.float32(-0.023785917), np.float32(0.010975126), np.float32(0.03740803), np.float32(-0.010609556), np.float32(0.0009725403), np.float32(-0.022330575), np.float32(-0.010853579), np.float32(0.0071087983), np.float32(0.05479279), np.float32(0.014228266), np.float32(0.007750378), np.float32(-0.013142824), np.float32(0.013793484), np.float32(-0.04472174), np.float32(0.06675141), np.float32(0.0078077046), np.float32(0.020323506), np.float32(-0.013038635), np.float32(0.025484748), np.float32(-0.017693778), np.float32(-0.018019417), np.float32(-0.027793434), np.float32(0.011955447), np.float32(-0.026263919), np.float32(-0.000595439), np.float32(-0.03973384), np.float32(0.030520681), np.float32(0.0001315833), np.float32(0.04928159), np.float32(-0.06330057), np.float32(0.013218342), np.float32(0.00344263), np.float32(-0.024213823), np.float32(0.033499874), np.float32(-0.0060867905), np.float32(0.052523263), np.float32(-0.017690102), np.float32(-0.008936284), np.float32(-0.047136717)]}\n"
     ]
    }
   ],
   "source": [
    "results = vector_store.search_by_metadata(\n",
    "    expr=\"source == '水生生物'\",  # 条件：source字段等于\"水生生物\"\n",
    "    limit=5  # 最多返回5条\n",
    ")\n",
    "\n",
    "# 打印结果\n",
    "print(\"来源为'水生生物'的文档：\")\n",
    "for i, doc in enumerate(results, 1):\n",
    "    print(f\"\\n{i}. 内容：{doc.page_content[:80]}...\")\n",
    "    print(f\"   元数据：{doc.metadata}\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "8071a7a0",
   "metadata": {},
   "source": [
    "# 改数据(upsert)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 32,
   "id": "1efd8ddf",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "\n",
      "--- 步骤1：查询原始鹦鹉文档 ---\n",
      "原始信息：page_content='鹦鹉是热带地区常见的鸟类，羽毛色彩艳丽，部分种类能模仿人类语言。它们主要以坚果、果实和种子为食，脚趾对生，适合抓握树枝。' metadata={'pk': 462127634890358875, 'source': '鸟类', 'type': '宠物/野生动物'}\n",
      "原始文档ID：462127634890358875（类型：<class 'int'>）\n",
      "原始内容：鹦鹉是热带地区常见的鸟类，羽毛色彩艳丽，部分种类能模仿人类语言。它们主要以坚果、果实和种子为食，脚趾对生，适合抓握树枝。\n",
      "原始元数据：{'pk': 462127634890358875, 'source': '鸟类', 'type': '宠物/野生动物'}\n",
      "\n",
      "--- 步骤2：准备更新后的文档 ---\n",
      "\n",
      "--- 步骤3：执行upsert更新 ---\n",
      "✅ upsert更新执行完成\n",
      "\n",
      "--- 步骤4：查询更新后的文档 ---\n",
      "更新后文档ID：462127634890358875（ID不变）\n",
      "\n",
      "--- 步骤5：更新前后对比 ---\n",
      "\n",
      "【内容差异】\n",
      "原始长度：60 字符 → 更新后长度：175 字符\n",
      "原始信息：鹦鹉是热带地区常见的鸟类，羽毛色彩艳丽，部分种类能模仿人类语言。它们主要以坚果、果实和种子为食，脚趾对生，适合抓握树枝。\n",
      "更新后内容：鹦鹉是热带地区常见的鸟类，羽毛色彩艳丽，部分种类（如金刚鹦鹉、灰鹦鹉）能精准模仿人类语言和环境声音。它们主要以坚果、果实、种子和嫩芽为食，脚趾对生（两前两后），适合抓握树枝和食物。鹦鹉寿命差异较大，小型鹦鹉约10-15年，大型鹦鹉可达到50年以上，主要分布在中南美洲、非洲、大洋洲的热带森林中，部分种类因栖息地破坏和非法捕捉已被列入濒危物种红色名录。\n"
     ]
    }
   ],
   "source": [
    "\n",
    "# 3. 步骤1：查询原始鹦鹉文档（修正expr语法，无引号）\n",
    "print(\"\\n--- 步骤1：查询原始鹦鹉文档 ---\")\n",
    "original_docs = vector_store.similarity_search(\n",
    "    query=\"鹦鹉 热带 鸟类\",\n",
    "    k=1,\n",
    "    expr=\"source == '鸟类' and type == '宠物/野生动物'\"  # 字符串类型字段仍需引号\n",
    ")\n",
    "\n",
    "if not original_docs:\n",
    "    print(\"❌ 未找到鹦鹉文档，无法更新\")\n",
    "else:\n",
    "    original_doc = original_docs[0]\n",
    "    print(f\"原始信息：{original_doc}\")\n",
    "    original_id = original_doc.metadata[\"pk\"]  # 获取原始ID（数值型，如462126893987529113）\n",
    "    original_content = original_doc.page_content\n",
    "    original_metadata = original_doc.metadata.copy()  # 复制元数据用于对比\n",
    "\n",
    "    # 打印原始文档信息\n",
    "    print(f\"原始文档ID：{original_id}（类型：{type(original_id)}）\")\n",
    "    print(f\"原始内容：{original_content}\")\n",
    "    print(f\"原始元数据：{original_metadata}\")\n",
    "    new_content = \"鹦鹉是热带地区常见的鸟类，羽毛色彩艳丽，部分种类（如金刚鹦鹉、灰鹦鹉）能精准模仿人类语言和环境声音。它们主要以坚果、果实、种子和嫩芽为食，脚趾对生（两前两后），适合抓握树枝和食物。鹦鹉寿命差异较大，小型鹦鹉约10-15年，大型鹦鹉可达到50年以上，主要分布在中南美洲、非洲、大洋洲的热带森林中，部分种类因栖息地破坏和非法捕捉已被列入濒危物种红色名录。\"\n",
    "\n",
    "    # 4. 步骤2：准备更新后的文档（补充细节）\n",
    "    print(\"\\n--- 步骤2：准备更新后的文档 ---\")\n",
    "    updated_parrot_doc = Document(\n",
    "        page_content=new_content,\n",
    "        metadata={\n",
    "            \"source\": \"鸟类\", \n",
    "            \"type\": \"宠物/野生动物\", \n",
    "        }\n",
    "    )\n",
    "\n",
    "    # 5. 步骤3：执行upsert更新（ID直接传数值型，无需引号）\n",
    "    print(\"\\n--- 步骤3：执行upsert更新 ---\")\n",
    "    vector_store.upsert(\n",
    "        ids=[original_id],  # 直接传入数值型ID，无需转换\n",
    "        documents=[updated_parrot_doc]\n",
    "    )\n",
    "    print(\"✅ upsert更新执行完成\")\n",
    "\n",
    "    # 6. 步骤4：查询更新后的文档（修正expr语法，pk无引号）\n",
    "    print(\"\\n--- 步骤4：查询更新后的文档 ---\")\n",
    "    updated_docs = vector_store.similarity_search(\n",
    "        query=\"鹦鹉 热带 鸟类\",\n",
    "        k=1,\n",
    "        expr=f\"pk == {original_id}\"  # 关键修正：去掉单引号，直接用数值\n",
    "    )\n",
    "    updated_doc = updated_docs[0]\n",
    "    updated_content = updated_doc.page_content\n",
    "    updated_metadata = updated_doc.metadata.copy()\n",
    "\n",
    "    print(f\"更新后文档ID：{updated_doc.metadata['pk']}（ID不变）\")\n",
    "    \n",
    "    # 步骤5：详细对比更新前后差异\n",
    "    print(\"\\n--- 步骤5：更新前后对比 ---\")\n",
    "    print(\"\\n【内容差异】\")\n",
    "    print(f\"原始长度：{len(original_content)} 字符 → 更新后长度：{len(updated_content)} 字符\")\n",
    "    print(f\"原始信息：{original_doc.page_content}\")\n",
    "    print(f\"更新后内容：{updated_content}\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "15f3b3b8",
   "metadata": {},
   "source": [
    "# 删除数据"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "165ae6d1",
   "metadata": {},
   "source": [
    "## 根据id删除"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 33,
   "id": "7b10c20e",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "✅ 成功删除 ID 为 [462127634890358875] 的文档\n"
     ]
    }
   ],
   "source": [
    "results = vector_store.get_pks(\n",
    "    expr=\"source == '鸟类'\",\n",
    ")\n",
    "results\n",
    "delete_ids = results[:2]\n",
    "success = vector_store.delete(ids=delete_ids)\n",
    "if success:\n",
    "    print(f\"✅ 成功删除 ID 为 {delete_ids} 的文档\")\n",
    "else:\n",
    "    print(\"❌ 删除失败\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "5dfc7274",
   "metadata": {},
   "source": [
    "## 按元数据条件（expr）批量删除"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 34,
   "id": "4657964e",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "✅ 成功删除所有海洋哺乳动物文档\n"
     ]
    }
   ],
   "source": [
    "success = vector_store.delete(\n",
    "    expr=\"type == '海洋哺乳动物'\"  # 条件：类型是海洋哺乳动物\n",
    ")\n",
    "\n",
    "if success:\n",
    "    print(\"✅ 成功删除所有海洋哺乳动物文档\")\n",
    "else:\n",
    "    print(\"❌ 删除失败\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "63ec688f",
   "metadata": {},
   "source": [
    "## 多条件组合删除（expr 高级用法）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 35,
   "id": "5d0a71d3",
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "E20251112 00:03:47.207315 123053 schema_util.cpp:615] [SERVER][ParseExpr][grpcpp_sync_ser][]right_expr_with_type.dtype == proto::schema::DataType::Bool\n",
      "2025-11-12 00:03:47,208 [ERROR][handler]: RPC error: [delete], <MilvusException: (code=1100, message=Invalid expr: source == '鸟类' and type not like '%宠物%': invalid parameter)>, <Time:{'RPC start': '2025-11-12 00:03:47.206760', 'RPC error': '2025-11-12 00:03:47.208415'}> (decorators.py:140)\n",
      "2025-11-12 00:03:47,208 [ERROR][delete]: Failed to delete primary keys in collection: LangChainCollection (milvus_client.py:813)\n",
      "Failed to delete entities: LangChainCollection error: <MilvusException: (code=1100, message=Invalid expr: source == '鸟类' and type not like '%宠物%': invalid parameter)>\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "❌ 删除失败\n"
     ]
    }
   ],
   "source": [
    "# 删除「来源是鸟类」且「类型不含宠物」的文档（假设存在纯野生动物的鸟类文档）\n",
    "# 这里需要看下milvus表达式\n",
    "success = vector_store.delete(\n",
    "    expr=\"source == '鸟类' and type not like '%宠物%'\"\n",
    ")\n",
    "if success:\n",
    "    print(\"✅ 成功删除符合条件的鸟类文档\")\n",
    "else:\n",
    "    print(\"❌ 删除失败\")"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "ff17dbd7",
   "metadata": {},
   "source": [
    "## 删除所有文档（清空集合）"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 38,
   "id": "7e825c3d",
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "E20251112 00:05:39.450011 124386 Driver.cpp:239] [SERVER][RunInternal][MILVUS_FUTURE_C][]Operator::GetOutput failed for [Operator:PhyFilterBitsNode, plan node id: 78] :  => PhyFilterBitsNode result should be ColumnVector at /workspace/milvus-lite/thirdparty/milvus/internal/core/src/exec/operator/FilterBitsNode.cpp:93\n",
      "2025-11-12 00:05:39,450 [ERROR][handler]: RPC error: [delete], <MilvusException: (code=2000, message=Operator::GetOutput failed for [Operator:PhyFilterBitsNode, plan node id: 78] :  => PhyFilterBitsNode result should be ColumnVector at /workspace/milvus-lite/thirdparty/milvus/internal/core/src/exec/operator/FilterBitsNode.cpp:93\n",
      ": segcore error)>, <Time:{'RPC start': '2025-11-12 00:05:39.449140', 'RPC error': '2025-11-12 00:05:39.450806'}> (decorators.py:140)\n",
      "2025-11-12 00:05:39,451 [ERROR][delete]: Failed to delete primary keys in collection: LangChainCollection (milvus_client.py:813)\n",
      "Failed to delete entities: LangChainCollection error: <MilvusException: (code=2000, message=Operator::GetOutput failed for [Operator:PhyFilterBitsNode, plan node id: 78] :  => PhyFilterBitsNode result should be ColumnVector at /workspace/milvus-lite/thirdparty/milvus/internal/core/src/exec/operator/FilterBitsNode.cpp:93\n",
      ": segcore error)>\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      " => PhyFilterBitsNode result should be ColumnVector at /workspace/milvus-lite/thirdparty/milvus/internal/core/src/exec/operator/FilterBitsNode.cpp:93\n",
      "\n"
     ]
    }
   ],
   "source": [
    "# 危险操作：删除集合中所有文档（expr 恒为真）\n",
    "success = vector_store.delete(expr=\"1 == 1\")  # 1==1 始终成立，匹配所有文档\n",
    "\n",
    "if success:\n",
    "    print(\"⚠️ 集合中所有文档已被删除\")"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "langchain-course (3.10.12)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
